[
https://jira.duraspace.org/browse/DS-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Masár updated DS-1100:
---------------------------
Labels: has-patch (was: )
> harvester.rejectedHandlePrefixes logic error
> --------------------------------------------
>
> Key: DS-1100
> URL: https://jira.duraspace.org/browse/DS-1100
> Project: DSpace
> Issue Type: Bug
> Components: DSpace API
> Reporter: James Russell
> Labels: has-patch
> Attachments: oai-harvester.patch
>
>
> The logic in org.dspace.harvest.OAIHarvester extractHandle() is incorrect.
> The dspace.cfg parameter 'harvester.rejectedHandlePrefixes' takes multiple
> handle prefixes
> which it uses to decide whether to accept and use the handle of an incoming
> item,
> or reject it and generate a new handle.
> Unfortunately, the existing program logic will accept a handle which doesn't
> match all prefixes,
> rather than reject a handle which matches any prefix.
> The net result is that this parameter doesn't work if it contains more than
> one prefix because the logic will then always accept any incoming handle.
> A proposed patch is attached.
--
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
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel