[ 
https://jira.duraspace.org/browse/DS-886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Masár resolved DS-886.
---------------------------

       Resolution: Fixed
    Fix Version/s: 3.0
    
> DSpaceControlledVocabulary always returns an empty list
> -------------------------------------------------------
>
>                 Key: DS-886
>                 URL: https://jira.duraspace.org/browse/DS-886
>             Project: DSpace
>          Issue Type: Bug
>          Components: DSpace API
>    Affects Versions: 1.7.1, 1.8.2
>         Environment: Ubuntu 10.10 maverick, sun-java6-jre, tomcat
>            Reporter: Ariel J. Lira
>            Assignee: Mark H. Wood
>             Fix For: 3.0
>
>         Attachments: DSpaceControlledVocabulary.java.patch
>
>
> 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
> #...
> ## demo: subject code autocomplete, using srsc as authority
> ## (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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to