Looking at the wiki page, I think you need a colon after ORCID rather than
a period:  ORCID:dc.contributor

On Mon, Nov 21, 2016 at 6:02 AM, Stefanie Behnke <stb...@gmail.com> wrote:

> Dear all,
>
>
>
> I am using Dspace 5.5 with XMLUI mirage theme.
>
>
>
> I want to use the batch metadata import as described in:
>
> https://wiki.duraspace.org/display/DSDOC5x/ORCID+
> Integration#ORCIDIntegration-EditingexistingitemsusingBatchCSVEditing
>
>
>
> When I use
>
> ORCID:dc.contributor.author
>
>
>
> In the column, I always get the error:
>
>
>
> java.lang.NullPointerException
>
>         at org.dspace.app.bulkedit.MetadataImport.compare(
> MetadataImport.java:49
>
> 5)
>
>         at org.dspace.app.bulkedit.MetadataImport.runImport(
> MetadataImport.java:
>
> 169)
>
>         at org.dspace.app.bulkedit.MetadataImport.main(
> MetadataImport.java:1341)
>
>
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.
>
> java:62)
>
>         at sun.reflect.DelegatingMethodAccessorImpl.
> invoke(DelegatingMethodAcces
>
> sorImpl.java:43)
>
>         at java.lang.reflect.Method.invoke(Method.java:498)
>
>         at org.dspace.app.launcher.ScriptLauncher.runOneCommand(
> ScriptLauncher.j
>
> ava:226)
>
>         at org.dspace.app.launcher.ScriptLauncher.main(
> ScriptLauncher.java:78)
>
> There were no changes detected
>
>
>
> ------------------------
>
> When I use ORCID.dc.contributor.author instead of
> ORCID:dc.contributor.author
>
> The lookup works, but the metadata field cannot be added:
>
>
>
> Changes for item: 14770 (10.2312/2630804)
>
> + Add    (ORCID.dc.contributor[]): Behnke, Stefanie
>
>
>
> 1 item(s) will be changed
>
>
>
> Do you want to make these changes? [y/n] y
>
> java.sql.SQLException: Invalid metadata field: [ORCID.dc.contributor]
>
>         at org.dspace.content.DSpaceObject.updateMetadata(
> DSpaceObject.java:122)
>
>
>
>         at org.dspace.content.Item.update(Item.java:1100)
>
>         at org.dspace.app.bulkedit.MetadataImport.compare(
> MetadataImport.java:62
>
> 0)
>
>         at org.dspace.app.bulkedit.MetadataImport.runImport(
> MetadataImport.java:
>
> 169)
>
>         at org.dspace.app.bulkedit.MetadataImport.main(
> MetadataImport.java:1396)
>
>
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.
>
> java:62)
>
>         at sun.reflect.DelegatingMethodAccessorImpl.
> invoke(DelegatingMethodAcces
>
> sorImpl.java:43)
>
>         at java.lang.reflect.Method.invoke(Method.java:498)
>
>         at org.dspace.app.launcher.ScriptLauncher.runOneCommand(
> ScriptLauncher.j
>
> ava:226)
>
>         at org.dspace.app.launcher.ScriptLauncher.main(
> ScriptLauncher.java:78)
>
> ----------------------------
>
>
>
> How can I manage the correct editing? What has to be in the column
> headline?
>
>
>
> Thanks in advance
>
> Stefanie
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
http://georgetown-university-libraries.github.io/
<https://www.library.georgetown.edu/lit/code>
425-298-5498 (Seattle, WA)

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to