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

Update Handle Prefix might change more than just the prefix

    XMLWordPrintable

    Details

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

      Description

      Following up on this question

      https://groups.google.com/forum/#!topic/dspace-tech/Elg3XLNyT9g

      I tested the update handle prefix on a  6.x instance and noted

      that rather than taking the the entries in the handle column oldprefix/n and replacing it with newprefix/n

      the handle_id is used to generate the new handle  in the form newprefix/handle_id

      This resulted in oldprefix/0 (the sidewide handle) with handle_id 1 being transformed to newprefix/1.

      The sidewide handle is used in several places e.g. AIP Backup and restore

       

      Furthermore changing the handle prefix will not affect metadata created with the canonical handle

      https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/handle/UpdateHandlePrefix.java#L97

      Maybe this should be better documented.

       

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: