misc/migration/3.13.3_Any.py
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 19 Mar 2013 15:17:34 +0100
changeset 8734 3530b7494195
parent 7688 f1b6e7c09a6f
permissions -rw-r--r--
[test/web] fix invisibly bogus test (prepares #2755994) The test was wrong but that was cancelled out by a cache effect and fuzzy naming. Wiping the entity caches restores sanity: the choices list are the same before and after the SET. Also field.choices uses entity.unrelated but always returns related + unrelated elements. Hence `choice` replaces `unrelated` where it makes sense. AssertIn is used in place of AssertTrue.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7688
f1b6e7c09a6f [schema] restrict source mapping 'cw_schema' relation to non final relation, we currently have no use for attributes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
drop_relation_definition('CWSourceSchemaConfig', 'cw_schema', 'CWAttribute')
f1b6e7c09a6f [schema] restrict source mapping 'cw_schema' relation to non final relation, we currently have no use for attributes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
sync_schema_props_perms('cw_schema')