-
Type:
Bug
-
Status: Volunteer Needed (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.8.3, 3.3, 4.2, 5.0
-
Fix Version/s: None
-
Component/s: DSpace API
-
Labels:
-
Environment:64b2aa7c1997efe11e1d89ee19b1870bd2e99db2 (master head); 7fae1f384040dbef0311e3b4485d3546eafdd138 (
DS-2040)
-
Attachments:
-
Comments:2
-
Documentation Status:Not Required
Tested on a trivial repository:
Top-level community 123456789/3
- Subcommunity 123456789/4
- Collection 123456789/5
- Item 123456789/6
- Collection 123456789/5
Export (completes successfully):
$ /dspace/bin/dspace packager -d -a -t AIP -e dspace@example.com -i 123456789/0 dspace-5-site-aip-subcomm-test.zip
Import into empty repository:
$ /dspace/bin/dspace packager -s -a -t AIP -e dspace@example.com -i 123456789/0 dspace-5-site-aip-subcomm-test.zip
Ingesting package located at dspace-5-site-aip-subcomm-test.zip
Also ingesting all referenced packages (recursive mode)..
This may take a while, please check your logs for ongoing status while we process each package.
java.lang.UnsupportedOperationException: Could not find a parent DSpaceObject referenced as '123456789/3' in the METS Manifest for object hdl:123456789/4. A parent DSpaceObject must be specified from either the 'packager' command or noted in the METS Manifest itself.
at org.dspace.content.packager.AbstractMETSIngester.getParentObject(AbstractMETSIngester.java:1385)
at org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:393)
at org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:234)
at org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:143)
at org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:193)
at org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:193)
at org.dspace.app.packager.Packager.ingest(Packager.java:515)
at org.dspace.app.packager.Packager.main(Packager.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
java.lang.UnsupportedOperationException: Could not find a parent DSpaceObject referenced as '123456789/3' in the METS Manifest for object hdl:123456789/4. A parent DSpaceObject must be specified from either the 'packager' command or noted in the METS Manifest itself.