# HG changeset patch # User Sylvain Thénault # Date 1250838155 -7200 # Node ID 643570a7770ff85f7ac3abb095beccae7448718e # Parent a2aa2c51f3bed6d060a353b67f3e984651414e2b [schema] oops, should use BaseTransition here diff -r a2aa2c51f3be -r 643570a7770f 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