Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.0
-
Component/s: DSpace API
-
Labels:None
-
Attachments:
-
Comments:3
-
Documentation Status:Not Required
Description
Attempting to remove a repeatable parameter of input type "name" in DescribeStep causes the following exception to be thrown (exception only thrown in JSPUI, though the problem exists in org.dspace.submit.step.DescribeStep) unless that value is configured for authority control:
ERROR org.dspace.app.webui.servlet.SubmissionController @ Error loading step class'org.dspace.submit.step.DescribeStep':
java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
at java.util.LinkedList.entry(LinkedList.java:365)
at java.util.LinkedList.remove(LinkedList.java:357)
at org.dspace.submit.step.DescribeStep.readNames(DescribeStep.java:538)
The linked list removals for "auth" and "conf" need to be wrapped in an if(isAuthorityControlled) test
Similar problems exist in readText, and possibly other methods. Will submit a patch after some more testing.
Attachments
Issue Links
- is related to
-
DS-401 Wrong date issued during submission
-
- Closed
-