Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-38

XMLUI Submission forms display errors during add/remove - ID: 2543413

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2
    • Component/s: None
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      0

      Description

      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
      2009-01-28).

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            kipkorir2008 Charles Kiplagat
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: