[schema/workflow] one more typo fix stable
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 18 Jan 2013 11:36:21 +0100
branchstable
changeset 8722 407acc41beb5
parent 8717 0436c231ac48
child 8723 d2472948da9c
[schema/workflow] one more typo fix Also add proper migration.
misc/migration/3.15.9_Any.py
schemas/workflow.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'))
--- 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):