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

SAF zip Import fails due to wrong wrong generation of path to zip file

    XMLWordPrintable

    Details

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

      Description

      Samuel Willis reported this on the list and I was able to reproduce it.

      During the SAF import of a zip the wrong path to the zip file is generated, because the sourcedir is added twice to the file name.

      The sourcedir is added to the filename at
      https://github.com/DSpace/DSpace/blob/dspace-5.5/dspace-api/src/main/java/org/dspace/app/itemimport/ItemImport.java#L287
      and then the unzip
      https://github.com/DSpace/DSpace/blob/dspace-5.5/dspace-api/src/main/java/org/dspace/app/itemimport/ItemImport.java#L2097
      adds ist again.

        Attachments

          Activity

            People

            • Assignee:
              cjuergen Claudia Jürgen
              Reporter:
              cjuergen Claudia Jürgen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: