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

Mark H. Wood updated DS-1065:
-----------------------------

    Attachment: DS-1065.diff

DS-1065.diff is a fix against the current development code.  It should apply 
cleanly to 1.7.2 using 'patch -l -p1 < DS-1065.diff'
                
> Required "id" attribute for every node in controlled vocabularies
> -----------------------------------------------------------------
>
>                 Key: DS-1065
>                 URL: https://jira.duraspace.org/browse/DS-1065
>             Project: DSpace
>          Issue Type: Bug
>          Components: DSpace API
>    Affects Versions: 1.7.2
>            Reporter: Juan GarcĂ­a
>            Assignee: Mark H. Wood
>            Priority: Major
>         Attachments: DS-1065.diff
>
>
> When enabling, in dspace.cfg, the plugin 
> org.dspace.content.authority.DSpaceControlledVocabulary for 
> plugin.selfnamed.org.dspace.content.authority.ChoiceAuthority the method 
> getMatches throws a NullPointerException if the xml file (the controlled 
> vocabulary file) contains nodes without the "id" attribute, despite that the 
> xml schema (controlledvocabulary.xsd) specifies this attribute as optional.
> The line that causes the exception is the following:
> authorities[i] = node.getAttributes().getNamedItem("id").getNodeValue();

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

       

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to