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

NPE resuming submission for item with an empty bundle original

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0, 1.5.1, 1.5.2, 1.6.0
    • Fix Version/s: 1.6.1, 1.7.0
    • Component/s: JSPUI
    • Labels:
      None
    • Attachments:
      1
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      The JSPUI assumes that an existent Bundle named original mean that there are uploaded files from the user. With this assumption it show the upload-file-list jsp instead of the file-choose-upload ant thrown a NPE. The same problem happen on the verify step.
      Also the flash page of an item with an empty orignal bundle is wrong: there is an empty table instead of the message "no files available".

      To reproduce the bug you need to create the item using the API or to do an ingest using the DSpaceMETSIngester (the SWORD default implementation use it). Send the submission trought the workflow system and reject the item. Resuming the submission will thrown the NPE

        Attachments

        1. ds573.patch
          4 kB
          Andrea Bollini (4Science)

          Issue Links

            Activity

              People

              • Assignee:
                bollini Andrea Bollini (4Science)
                Reporter:
                bollini Andrea Bollini (4Science)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: