[schema] oops, should use BaseTransition here 3.5
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 21 Aug 2009 09:02:35 +0200
branch3.5
changeset 2950 643570a7770f
parent 2949 a2aa2c51f3be
child 2951 d0b77dd27740
[schema] oops, should use BaseTransition here
schemas/workflow.py
--- a/schemas/workflow.py	Fri Aug 21 08:45:55 2009 +0200
+++ b/schemas/workflow.py	Fri Aug 21 09:02:35 2009 +0200
@@ -133,7 +133,7 @@
     to_state = SubjectRelation('State', cardinality='1*')
     # make by_transition optional because we want to allow managers to set
     # entity into an arbitrary state without having to respect wf transition
-    by_transition = SubjectRelation('Transition', cardinality='?*')
+    by_transition = SubjectRelation('BaseTransition', cardinality='?*')
     comment = RichString(fulltextindexed=True)
     # get actor and date time using owned_by and creation_date