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

Metadata export fails because of items not in archive

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      6
    • Documentation Status:
      Needed

      Description

      We found an issue attempting to export the metadata from a collection with many items on a DSpace 3.2 instance upgraded from DSpace 1.6.

      Way to replicate:

      1) Add a couple of items to a collection

      2) Set column archived="f" in the "item" table

      3) Export metadata CSV

      The user will receive a silent error. The full stack trace is eaten so it is difficult to find where the problem originates.

      The problem is this line in DSpaceCSV.java:

      String owningCollectionHandle = i.getOwningCollection().getHandle();

      The "i" object is never validated before this call.

        Attachments

          Activity

            People

            Assignee:
            tdonohue Tim Donohue
            Reporter:
            ottenhoffs Samuel Ottenhoff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: