# HG changeset patch # User Nicolas Chauvat # Date 1414772246 -3600 # Node ID 4ce8b8437838f19a0bd2d1e47ae02a69a555b30d # Parent 0f3489d622ba993e0256aabbe8d4b1bf6b669fea [schemas] make CWEType.final default to False (closes #5049201) diff -r 0f3489d622ba -r 4ce8b8437838 misc/migration/3.21.0_Any.py --- a/misc/migration/3.21.0_Any.py Fri Apr 04 14:49:18 2014 +0200 +++ b/misc/migration/3.21.0_Any.py Fri Oct 31 17:17:26 2014 +0100 @@ -17,3 +17,5 @@ sql('DELETE FROM entities WHERE eid < 0') commit() + +sync_schema_props_perms('CWEType') diff -r 0f3489d622ba -r 4ce8b8437838 schemas/bootstrap.py --- a/schemas/bootstrap.py Fri Apr 04 14:49:18 2014 +0200 +++ b/schemas/bootstrap.py Fri Oct 31 17:17:26 2014 +0100 @@ -38,7 +38,7 @@ description = RichString(internationalizable=True, description=_('semantic description of this entity type')) # necessary to filter using RQL - final = Boolean(description=_('automatic')) + final = Boolean(default=False, description=_('automatic')) class CWRType(EntityType):