This is not a major bug, but an annoying usability problem.
When you are adding/removing values (via "Add" and "Remove" buttons) in
multi-valued fields during the XMLUI submission process, you receive
errors/warnings on empty required fields which you may not have even gotten
to yet. During local usability testing, many users found it disconcerting
that the interface displays validation errors next to fields before they
even submit the entire form.
I've found a fix to this issue which also works with the existing JSPUI.
The patches are attached. Essentially, we add logic to only perform form
validation when the "Next" button (or Progress Bar) is pressed. This
ensures that users can click "Add", "Remove" on fields (or step "Back" in
the process) without receiving validation error messages.
The attached patches are for the org.dspace.submit.step.DescribeStep class
(which performs backend processing of both XMLUI and JSPUI), and the
DRI2XHTML structural.xsl which builds the default XMLUI theme. Changes to
the DescribeStep class were tested with both the XMLUI and JSPUI (despite
the fact that this usability problem only exists on XMLUI). The patches
were built based on the latest code in dspace-1_5_x branch (as of