misc/migration/3.9.5_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 16 Feb 2016 10:52:38 +0100
changeset 11114 468b91aabd9d
parent 6105 a648c832da1f
permissions -rw-r--r--
[web/views] fix editcontroller regression unittest_views_basecontrollers.py's EditControllerTC.test_edit_mandatory_inlined3_object regressed with changeset dcbb64d3a1d9 because it relied on POSTing nonexisting eids. This seems like a silly idea, but let's keep the behaviour unchanged.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6105
a648c832da1f RQLUniqueConstraint not in CWConstraintType for some old instances
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
if not rql('CWConstraintType X WHERE X name "RQLUniqueConstraint"',
a648c832da1f RQLUniqueConstraint not in CWConstraintType for some old instances
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
           ask_confirm=False):
a648c832da1f RQLUniqueConstraint not in CWConstraintType for some old instances
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     3
    rql('INSERT CWConstraintType X: X name "RQLUniqueConstraint"',
a648c832da1f RQLUniqueConstraint not in CWConstraintType for some old instances
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     4
        ask_confirm=False)