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".
--
Mit freundlichen Grüßen Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel