Hi.

I am trying to move this item to another collection:

https://biblioteca.mpf.mp.br/repositorio/items/445388b8-dbab-459c-a145-d735b9010dbb

*My collection.csv file:*


*id,collection445388b8-dbab-459c-a145-d735b9010dbb,876e7d6c-82da-46c2-af03-a4cbd2df8b12*

After running ./dspace metadata-import -e email -f collections.csv the
following error is returned:

*./dspace metadata-import -e email -f collections.csv*









*The script has startedorg.dspace.app.bulkedit.MetadataImportException:
'876e7d6c-82da-46c2-af03-a4cbd2df8b12' is not a Collection! You must
specify a valid collection ID        at
org.dspace.app.bulkedit.MetadataImport.compare(MetadataImport.java:970)
    at
org.dspace.app.bulkedit.MetadataImport.runImport(MetadataImport.java:396)
      at
org.dspace.app.bulkedit.MetadataImport.internalRun(MetadataImport.java:217)
      at org.dspace.scripts.DSpaceRunnable.run(DSpaceRunnable.java:150)
    at
org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:154)
      at
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:132)
      at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:99)*

But collection id 876e7d6c-82da-46c2-af03-a4cbd2df8b12 exists:
https://biblioteca.mpf.mp.br/repositorio/collections/876e7d6c-82da-46c2-af03-a4cbd2df8b12

Is this a bug, or am I missing something in my csv file?

Aroldo

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/CACKFi%2BdqPJD%2BzX9WJsk_2HzaZKZJ%2BMWhSpWu1Cr3bC0rGQPAoQ%40mail.gmail.com.

Reply via email to