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

Lookup/Suggest doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 6.0
    • Fix Version/s: None
    • Component/s: JSPUI
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Needed

      Description

      The version 6 of DSPace with the new ID changes has broken the lookup/suggest in dspace. When activated the option fails because now the ID is not a number but a string and the code javascript: return DSpaceChoiceLookup doesn't work.

      It can be fixed by adding quotes in the jsp .../tools/edit-item-form.jsp and .../submit/edit-metadata.jsp by changed the code to:

                       .append(confidenceIndicator).append("','")
                       .append(String.valueOf(collection.getID())).append("',")

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            fribeiro Fernando Ribeiro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: