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

Authority Control: Wrong value for lookup popup (JavaScript) and missing index of repeatable fields in JSPUI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.3
    • Component/s: JSPUI
    • Labels:
    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Needed

      Description

      Since version 6.0 the input forms of JSPUI calls the lookup popup for authority choices with a string on the collectionID parameter (it is now an UUID and was before v6 an integer). The current JavaScript (Function: DSpaceChoiceLookup(...), File: choice-support.js) is currently not able to identify the string correctly (because of the missing quotes).

      Also since version 6.0 the indexing (meaning the naming of the HTML input elements) of repeatable fields is not in sync anymore and therefor the last or only input field with choice-support does not work properly with the choice lookup popup.

      Maybe this pull requests explains it better: https://github.com/DSpace/DSpace/pull/1578

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Eike Eike Kleiner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: