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

Migrating items that use additional metadata schemas causes an NPE

    XMLWordPrintable

    Details

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

      Description

      When using the exporter, if you select the 'migrate' option, it will strip out most dates and the handle etc.

      dc.date.issued is kept if it is different to dc.date.accessioned.

      However, the exporter tries to compare *.date.issued with *.date.accessioned. If other metadata schemas do not include date.issued and date.accessioned, an NPE is thrown.

      Patch attached.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stuartlewis Stuart Lewis
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: