[ 
https://jira.duraspace.org/browse/DS-886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26780#comment-26780
 ] 

Ariel J. Lira commented on DS-886:
----------------------------------

this issue affected dspace 1.7.x and 1.8.x . 
In 3.0, it was fixed by [~mwood] in 
https://github.com/DSpace/DSpace/commit/521e613224af2eda754d56d48f01e1d11cc90acd
                
> DSpaceControlledVocabulary always returns an emtpy 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
>         Environment: Ubuntu 10.10 maverick, sun-java6-jre, tomcat
>            Reporter: Ariel J. Lira
>            Assignee: Kim Shepherd
>         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