Hi,
We're getting a NPE when trying to delete a role from a collection
workflow. This seems like a re-appearance of
https://jira.duraspace.org/browse/DS-1416 except that I can see the code
that fixed that problem.
Specifically, the stacktrace says :
java.lang.NullPointerException
at
org.dspace.xmlworkflow.WorkflowUtils.deleteRoleGroup(WorkflowUtils.java:215)
at
org.dspace.app.xmlui.aspect.administrative.FlowContainerUtils.processDeleteCollectionRole(
FlowContainerUtils.java:538)
where the code at line 538 in FlowContainerUtils.java is:
if(ConfigurationManager.getProperty("workflow",
"workflow.framework").equals("xmlworkflow"))
so this test is passing, yet in the config file
(config/modules/workflow.cfg) workflow.framework is indeed set to
'originalworkflow'.
Since there are no set methods in ConfigurationManager I don't see how
it can get the wrong value. Is there some way to test this? Perhaps by
calling cocoon.log.error in the flowscript?
ta
gilleain
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette