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

DSpaceControlledVocabulary always returns an empty list

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.1, 1.8.2
    • Fix Version/s: 3.0
    • Component/s: DSpace API
    • Labels:
      None
    • Environment:
      Ubuntu 10.10 maverick, sun-java6-jre, tomcat
    • Attachments:
      1
    • Comments:
      2
    • Documentation Status:
      Not Required

      Description

      I am trying to test DSpaceControlledVocabulary using Manakin, but it always returns an empty list without matches.
      my config:

      plugin.selfnamed.org.dspace.content.authority.ChoiceAuthority = \
      org.dspace.content.authority.DCInputAuthority, \
      org.dspace.content.authority.DSpaceControlledVocabulary
      #...

        1. demo: subject code autocomplete, using srsc as authority
        2. (DSpaceControlledVocabulary plugin must be enabled)
          choices.plugin.dc.subject = srsc
          choices.presentation.dc.subject = suggest
          authority.controlled.dc.subject = true

      According to javadoc of org.dspace.content.authority.ChoiceAuthority.getMatches(String, String, int, int, int, String), "limit==0" means unlimited number of choices to return. But when limit==0, org.dspace.content.authority.DSpaceControlledVocabulary.getMatches returns 0 matches.

        Attachments

          Activity

            People

            Assignee:
            mwood Mark H. Wood
            Reporter:
            arieljlira Ariel Lira (SEDICI)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: