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

AIP ingestion of metadata-only package fails PREMIS validation when embargoed

    Details

    • Type: Bug
    • Status: Volunteer Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      0
    • Documentation Status:
      Needed

      Description

      When manifestOnly = true, AbstractMETSIngester.getFileInputStream expects the bitstream's path to be a URL, opens that URL and fetches that object.  This will fail PREMIS validation if the object is embargoed, because the length of the page you get back is unrelated to the length of the Bitstream.  The resulting error message is mysterious and unhelpful.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mwood Mark H. Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: