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 Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.

Reply via email to