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

Handles in Simple Archive Format "collections" not used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.7
    • Component/s: API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Needed

      Description

      During the Simple Archive Format import, the file "collections" is read, but not properly used.
      An empty collection array "clist" is initialised, which should receive either the collections read from the command line, or the collections read from the "collections" file.

      The import using the collections option works, but for the incorrect reason. (mycollections is set, but only if read from command line)

      addItem(c, mycollections, sourceDir, dircontents[i], mapOut, template);

      should be 

      addItem(c, clist, sourceDir, dircontents[i], mapOut, template);

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                JonasVg Jonas Van Goolen (Atmire)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: