On 21 Mar 2006, at 19:47, Joachim Schmitz wrote:
I found the problem see below:
Joachim Schmitz schrieb:
with the debugger I get:
(Pdb) node.tagName
u'transition'
(Pdb) node._attrs[u'transition_id'].value
u'close'
in workflows/waeup_workspace_wf/definition.xml there was no
transition with transition_id = "close", I inserted :
<transition transition_id="close" title="" new_state=""
trigger="USER" before_script="" after_script="">
<guard>
</guard>
</transition>
save it and retried import with the same result.
there was a definition of
<transition transition_id="close" title="" new_state="">
before the one I inserted. After changing that to
<transition transition_id="close" title="" new_state=""
trigger="USER" before_script="" after_script="">
the error went away.
I really would have been very helpfull if the error-message is
something like:
during import of profile/default/workflows/waeup_workspace_wf/
definition.xml
transition "close" has no attribute "before_script".
Nous essayons d'avoir ce genre de messages clair pour la partie CPS,
mais une bonne partie du workflow est issue du code générique de
GenericSetup et CMF.
Florent
--
Florent Guillaume, Nuxeo (Paris, France) Director of R&D
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel