Jörn Nettingsmeier schrieb:
hi *!


while toying with the metadata in lenya, i realized that when a document is created, no workflowVersion entry is generated. it only happens when it is first submitted or edited. this strikes me as somehow wrong.
is there a compelling reason for this behaviour?

That issue has been discussed frequently. In Lenya 1.2, the workflow
has to be initialized when a document is created. This reduces the
robustness of the repository, because when a document has no workflow
history file the system thinks that it has no workflow assigned to it.
But this error situation could be handled by the system.

IIRC the latest consensus was:

The workflow should not be initialized when the document is created.
This way, the fact if a document has a workflow only depends on the
resourcetype -> workflow assigment in publication.xconf. As long as
the document has no workflow history, it is in the initial workflow
state.

If you think that this behavior is wrong, feel free to restart the
discussion :)

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to