formdef: do not run migration path when checking on url_name

This commit is contained in:
Frédéric Péters 2013-02-23 12:53:12 +01:00 committed by Thomas NOEL
parent 69100dd066
commit b443e1912a
1 changed files with 1 additions and 1 deletions

View File

@ -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: