Hi
We added a transition to the workflow.xml to give the reviewers the
possibility to publish in one step:
<transition source="authoring" destination="live">
<event id="publish"/>
<condition
class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
<assign variable="is_live" value="true"/>
</transition>
Two problems arise:
1) The notification of the submitter checkbox in the publishing step
is present - and if checked, it throws an exception (which makes
sense, because there is no submitter). Is it possible to introduce a
check, that the checkbox is only displayed if the document has the
state «review» (and a submitter exists)?
2) The update of the lucene index of a document (in workflow state
authoring | live) fails if the modified document is published in one
step (from authoring|live to live). If the publish procedure of the
updated document is done in two steps (submit - publish), the content
is (re)-indexed.
Do I have to change other files - not just workflow.xml?
In the meantime I let the reviewers perform the submit step.
Thank you for help!
Jürgen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]