Hi,
I'm developing a customization of XMLWorkflow.
I have used the already implemented "default" workflow. My workflow
consist in 2 steps. The final step is a copy of step 'editstep' but with
another name
<step id="editstep" role="editor"
userSelectionMethod="claimaction">
<outcomes>
<step status="0">finaleditstep</step>
</outcomes>
<actions>
<action id="editaction"/>
</actions>
</step>
<step id="finaleditstep" role="finaleditor"
userSelectionMethod="claimaction">
<outcomes>
<step status="0">finaleditstep</step>
</outcomes>
<actions>
<action id="editaction2"/>
</actions>
</step>
Action is:
<bean id="editaction"
class="org.dspace.xmlworkflow.state.actions.WorkflowActionConfig"
scope="prototype">
<constructor-arg type="java.lang.String" value="editaction"/>
<property name="processingAction" ref="editactionAPI"/>
<property name="requiresUI" value="true"/>
</bean>
<bean id="editaction2"
class="org.dspace.xmlworkflow.state.actions.WorkflowActionConfig"
scope="prototype">
<constructor-arg type="java.lang.String" value="editaction"/>
<property name="processingAction" ref="editactionAPI2"/>
<property name="requiresUI" value="true"/>
</bean>
And:
<bean id="editactionAPI"
class="org.dspace.xmlworkflow.state.actions.processingaction.AcceptEditRejectAction"
scope="prototype"/>
<bean id="editactionAPI2"
class="org.dspace.xmlworkflow.state.actions.processingaction.AcceptAndEditMetadataAction"
scope="prototype"/>
Where 'AcceptAndEditMetadataAction.java' is a copy exactly of
'AcceptEditRejectAction.java'.
I compile DSpace (mvn clean package) and make a 'ant fresh_install'.
Everything it's ok.
But when I do a test item, when I'm in the last step of the workflow, If
I accept item to finally submit to DSpace, I have this error:
org.postgresql.util.PSQLException: ERROR: duplicate key value violates
unique constraint "cwf_claimtask_unique"
What I'm doing wrong?
Thanks in advance,
Daniel
--
- no title specified
------------------------------------------------------------------------
Daniel Garcia Mejia
Tècnic de projectes - Càlcul i Aplicacions
Consorci de Serveis Universitaris de Catalunya (CSUC)
Gran Capità, 2 (Edifici Nexus) ?08034 Barcelona
T. 93 551 6210 ?F. 93 205 6979 ?daniel.gar...@csuc.cat
www.csuc.cat ?Twitter @CSUC_info ?Facebook ?Linkedin
Subscriu-te al butlletí; (www.csuc.cat/butlleti)
------------------------------------------------------------------------
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel