Title: Message Title
|
|
Issue Type:
|
Bug
|
Assignee:
|
Mark H. Wood
|
Components:
|
XMLUI
|
Created:
|
11/Nov/13 2:56 PM
|
Fix Versions:
|
4.0
|
Priority:
|
Minor
|
Reporter:
|
Mark H. Wood
|
|
Around line 150 in org.dspace.app.xmlui.aspect.artifactbrowser.ItemRequestForm.java we find "if (titleDC != null || titleDC.length > 0)". The comparison of titleDC.length will only be attempted if titleDC is null, resulting in NPR. "if (titleDC != null && titleDC.length > 0)" seems to express the intent here and cannot reference a null pointer. Thanks to NetBeans for calling this out while I was looking for something else.
|
|
|
|
|
|
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel