formdef: do not run migration path when checking on url_name
This commit is contained in:
parent
69100dd066
commit
b443e1912a
|
@ -159,7 +159,7 @@ class FormDef(StorableObject):
|
|||
suffix_no = 0
|
||||
while True:
|
||||
try:
|
||||
formdef = self.get_by_urlname(new_url_name)
|
||||
formdef = self.get_by_urlname(new_url_name, ignore_migration=True)
|
||||
except KeyError:
|
||||
break
|
||||
if formdef.id == self.id:
|
||||
|
|
Loading…
Reference in New Issue