Hi,

The news on this seems to be that this can be fixed by building 
dspace-xmlui and deploying that separately. This is obviously quite 
weird, but it may be that there is some problem with the products in 
maven repositories differing from the source in the 3.1 tag.

Anyway, hope this is helpful for anyone else encountering the same 
problem with 3.1 and deleting roles.

gilleain

(University of Cambridge Library)

On 2013-08-06 14:01, G.M. Torrance wrote:
> 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
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to