# HG changeset patch # User Julien Cristau # Date 1358505381 -3600 # Node ID 407acc41beb5bb7761ff2786f26f6f81bf6b3f86 # Parent 0436c231ac4803432deef1a8a9f106c40128ede8 [schema/workflow] one more typo fix Also add proper migration. diff -r 0436c231ac48 -r 407acc41beb5 misc/migration/3.15.9_Any.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/misc/migration/3.15.9_Any.py Fri Jan 18 11:36:21 2013 +0100 @@ -0,0 +1,2 @@ +sync_schema_props_perms(('State', 'state_of', 'Workflow'), commit=False) +sync_schema_props_perms(('State', 'name', 'String')) diff -r 0436c231ac48 -r 407acc41beb5 schemas/workflow.py --- a/schemas/workflow.py Wed Jan 09 18:37:48 2013 +0100 +++ b/schemas/workflow.py Fri Jan 18 11:36:21 2013 +0100 @@ -79,7 +79,7 @@ state_of = SubjectRelation('Workflow', cardinality='1*', composite='object', description=_('workflow to which this state belongs'), constraints=[RQLUniqueConstraint('S name N, Y state_of O, Y name N', 'Y', - _('workflow already have a state of that name'))]) + _('workflow already has a state of that name'))]) class BaseTransition(EntityType):