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

ItemImportCLITool throws IndexOutOfBoundsException when called with -c {UUID}

    XMLWordPrintable

    Details

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

      Description

      Currently the ItemImportCLITool script will throw an IndexOutOfBoundsException when it's called with a UUID value for the -c flag. This will cause a .set to be called on an ArrayList which does not yet contain a value for the index in that method and thus throws an error.

      The location of the error is as follows: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/app/itemimport/ItemImportCLITool.java#L354

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            raf.ponsaerts-atmire Raf Ponsaerts (Atmire)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: