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

Swordv2 deposit doesn't work if the package is recompressed.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Answered
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: SWORD
    • Labels:
      None
    • Environment:
      macOS 10.13.1
    • Attachments:
      2
    • Comments:
      4
    • Documentation Status:
      Not Required

      Description

      Swordv2 deposit doesn't work if the package is recompressed. I've attached the package which gets deposited as it is but if I extract the package and recompress it (without changing anything), it throws this error: (on local server)

      If I try doing same in demo.dspace.org I get following two issues.

      1. The package gets deposited for the first time but after second attempt it throws HTTP/1.1 500 Internal Server Error But the package still gets deposited.(Despite throwing failure message) This is the complete error message
      2. If I try to deposit the recompressed package I still get the same HTTP/1.1 500 Internal Server but this time the package doesn't get deposited.

       

      My curl command is: 

      curl -i http://demo.dspace.org/swordv2/collection/10673/2 --data-binary "@example.zip" -H "Content-Disposition: filename=example.zip" -H "Content-Type: application/zip" -H "Packaging: http://purl.org/net/sword/package/METSDSpaceSIP" --user "dspacedemo+admin@gmail.com"

      The original package gets deposited and throws this success message as expected.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              uttamdhakal Uttam Dhakal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: