You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DSpace Technical Support
Hi team,
I am trying to do a batch import on Dspace 7.2 but it fails with the following error:
Extracting file: item_1/contents Extracting file: item_1/dublin_core.xml Extracting file: item_1/file1.pdf Extracting file: item_2/contents Extracting file: item_2/dublin_core.xml Extracting file: item_2/file2.pdf Adding items from directory: /opt/dspace-7/imports/import2.zip Generating mapfile: 7 Adding item from directory item_1 Loading dublin core from /opt/dspace-7/imports/import2.zip/item_1/dublin_core.xml Schema: dc Element: title Qualifier: Value: KnE Import PDF 1 Schema: dc Element: contributor Qualifier: author Value: Sushant Virdi java.sql.SQLException: bad_dublin_core schema=dc.contributor.author. Metadata field does not exist! at org.dspace.content.DSpaceObjectServiceImpl.addMetadata(DSpaceObjectServiceImpl.java:202) at org.dspace.content.DSpaceObjectServiceImpl.addMetadata(DSpaceObjectServiceImpl.java:322) at org.dspace.app.itemimport.ItemImportServiceImpl.addDCValue(ItemImportServiceImpl.java:940) at org.dspace.app.itemimport.ItemImportServiceImpl.loadDublinCore(ItemImportServiceImpl.java:907) at org.dspace.app.itemimport.ItemImportServiceImpl.loadMetadata(ItemImportServiceImpl.java:868) at org.dspace.app.itemimport.ItemImportServiceImpl.addItem(ItemImportServiceImpl.java:716) at org.dspace.app.itemimport.ItemImportServiceImpl.addItems(ItemImportServiceImpl.java:310) at org.dspace.app.itemimport.ItemImportCLITool.main(ItemImportCLITool.java:351) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277) at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98) java.sql.SQLException: bad_dublin_core schema=dc.contributor.author. Metadata field does not exist! Deleting temporary zip directory: /opt/dspace-7/imports Deleting temporary zip directory: /opt/dspace-7/imports Started: 1692001552981 Ended: 1692001556451
I have attached the import file which I am trying to import. Thank you!
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Sushant Virdi, DSpace Technical Support
The error is telling you that you don't have the metadata
contributor.author, maybe you want to either create it via the UI, or
use contributor.creator. You can see the different kinds of metadatas
you have via the UI, if you login as Admin.