|
Hi Robert, hi Andreas, hi all, Andreas Hartmann a écrit : Robert Goene wrote: I had the same problem with my lenya version 1.2.3. See the file [your_publication]/config/workflow/workflow.xml If you can delete without desactivating maybe you have these lines : <transition source="authoring" destination="trash">
<event id="delete"/>
<condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
<assign variable="is_live" value="false"/>
</transition>
Nowhere it is said that the the is_live parameter has to be at false.
So instead of the previous code insert another condition :
<transition source="authoring" destination="trash">
<event id="delete"/>
<condition class="org.apache.lenya.workflow.impl.BooleanVariableCondition">
is_live = false
</condition>
<condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
<assign variable="is_live" value="false"/>
</transition>
With this my problem was fixed.
For more explanations see the workflow configuration page :
http://lenya.apache.org/1_2_x/components/workflow/configuration.html
Kind regards, annie
|
- Delete document Robert Goene
- Re: Delete document Andreas Hartmann
- Re: Delete document Annie Dumont
- Re: Delete document Robert Goene
- Re: Delete document Annie . Dumont
