It was a bug in the DSpace-CRIS 5.x, now it is fixed and you can use the official dublin_core.xml file
https://github.com/4Science/DSpace/commit/9e925eeed17155160c031f3775d5fec6436d79bf Cheers, Andrea Il 01/12/2017 09:49, Marianna Mühlhölzer ha scritto: Thanks for the replies. The problem is solved now. It occurs only with DSpace CRIS. Here the dublin_core.xml should have Metadata-tags instead of dcvalue. If I change the dublin_core file, it works. Am Dienstag, 21. November 2017 19:25:18 UTC+1 schrieb Terry Brady: I know that I have seen this error before, but I am having trouble recreating this error message in my repository. Here is a minimal dublin_core.xml file that I am using in a call to the command to remove a bitstream. <?xml version="1.0" encoding="UTF-8" standalone="no"?> <dublin_core schema="dc"> <dcvalue element="identifier" qualifier="uri">https://my-repo.edu/handle/10822.2/1359<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fmy-repo.edu%2Fhandle%2F10822.2%2F1359&e=8ef37f15&h=38b94ecc&f=n&p=y></dcvalue> </dublin_core> I find that if I change the tag name for the dcvalue element, I see an error message similar to the one you are seeing. This appears to be the line of code generating the message: https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/app/itemupdate/ItemArchive.java#L101<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2FDSpace%2FDSpace%2Fblob%2Fdspace-5_x%2Fdspace-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fdspace%2Fapp%2Fitemupdate%2FItemArchive.java%23L101&e=8ef37f15&h=57e87aad&f=n&p=y> Terry On Mon, Nov 20, 2017 at 11:14 PM, Marianna Mühlhölzer <[email protected]<javascript:>> wrote: Yes, the subfolder are items exported by the export tool. There is a valid dublin_core.xml with all metadata of the item. I tried it also with the doi of the item (-i dc.identifier.doi), but the error message is the same. I think the identifier is not found because the dublin_core.xml is not loaded. "processing item 1 Loaded metadata with 0 fields" But why? Am Montag, 20. November 2017 15:42:44 UTC+1 schrieb Terry Brady: Could you describe the contents of the -s directory_archive folder that you are using? Each subfolder of that folder must have a metadata file that will uniquely identify en existing DSpace item. dc.identifier.uri it the default field that is used to make a match. On Mon, Nov 20, 2017 at 3:34 AM, Marianna Mühlhölzer <[email protected]> wrote: Hi everyone, we are working with Dspace-Cris v.5.8 and try to delete some metadata fields via ItemUpdate tool on the command line. It cannot load the data: "processing item 1 Loaded metadata with 0 fields" and consequently does not find the identifier: "Exception processing item 1: java.lang.Exception: No dc.identier.uri field found for handle" Does anyone have any idea how to fix the problem? Thanks, Marianna -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fgroup%2Fdspace-tech&e=8ef37f15&h=f69ab701&f=n&p=y>. For more options, visit https://groups.google.com/d/optout<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&e=8ef37f15&h=9ae39a8b&f=n&p=y>. -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://github.com/terrywbrady/info<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2Fterrywbrady%2Finfo&e=8ef37f15&h=3d9dfbe9&f=n&p=y> 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 [email protected]<javascript:>. To post to this group, send email to [email protected]<javascript:>. Visit this group at https://groups.google.com/group/dspace-tech<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fgroup%2Fdspace-tech&e=8ef37f15&h=f69ab701&f=n&p=y>. For more options, visit https://groups.google.com/d/optout<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&e=8ef37f15&h=9ae39a8b&f=n&p=y>. -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://github.com/terrywbrady/info<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2Fterrywbrady%2Finfo&e=8ef37f15&h=3d9dfbe9&f=n&p=y> 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 [email protected]<mailto:[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. Visit this group at https://groups.google.com/group/dspace-tech<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fgroup%2Fdspace-tech&e=8ef37f15&h=f69ab701&f=n&p=y>. For more options, visit https://groups.google.com/d/optout<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&e=8ef37f15&h=9ae39a8b&f=n&p=y>. -- Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non infetto. Clicca qui per segnalarlo come spam.<http://esva1.business-e.it/cgi-bin/learn-msg.cgi?id=5004F400DC.A0473> -- Andrea Bollini Chief Technology and Innovation Officer 4Science, www.4science.it<http://www.4science.it> office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy mobile: +39 333 934 1808 skype: a.bollini linkedin: andreabollini orcid: 0000-0002-9029-1854 an Itway Group Company Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates -- Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non infetto. This message was scanned by Libra ESVA and is believed to be clean. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
