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

Ivan Masár updated DS-1084:
---------------------------

    Attachment: bulkedit-authority.patch

Hi Keiji,
I appreciate your contribution very much.

I reworked it into a single patch, because it didn't apply cleanly (end-of-line 
character issues). I also updated it to apply to 1.8.2 and current trunk 
(r6957).

I tested your patch and it works for new records, but always throws an error if 
I try to change an existing auhor to authority controlled author (i.e. "Suzuki, 
Keiji" -> "Suzuki, Keiji::someid::600"). The error is

java.lang.NullPointerException
        at 
org.dspace.app.bulkedit.MetadataImport.compare(MetadataImport.java:466)

which is this line (its second occurence):

String[] parts = dcv.value.split(DSpaceCSV.escapedAuthoritySeparator);
                
> Handle authority and confidence fields in Bulk Editing
> ------------------------------------------------------
>
>                 Key: DS-1084
>                 URL: https://jira.duraspace.org/browse/DS-1084
>             Project: DSpace
>          Issue Type: Improvement
>          Components: DSpace API
>    Affects Versions: 1.8.0
>            Reporter: Keiji Suzuki
>         Attachments: bulkedit-authority.patch, bulkedit-patches.zip
>
>
> Current bulk editing function ignores authority and confidence fields. 
> Attached patches (against to 1.8.0 sources) handle these fields.

--
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

       

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to