Title: Message Title
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
4.1, 5.0
|
Assignee:
|
Unassigned
|
Created:
|
25/Jun/14 3:27 PM
|
Priority:
|
Minor
|
Reporter:
|
Hardy Pottinger
|
|
I have a set of AIPs which represent our entire production repository, and I am attempting to restore them on our staging server. A number of our items are cross-mapped to other collections, and, it appears that cross-mapped items cause a full AIP restore to fail, with the following message: "Attempted to create a handle which is already in use" which is thrown by this line: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/identifier/VersionedHandleIdentifierProvider.java#L460 The full restore command I typed was: bin/dspace packager -u -r -a -t AIP -e myem...@mydomain.edu -o skipIfParentMissing=true -o createMetadataFields=true /path/to/aip-backup/SITE\@12345-0.zip The item that failed is clearly a cross-mapped item: https://mospace.umsystem.edu/xmlui/handle/10355/26392 The correct logic would be to just skip creating the duplicate item, but honor the crossmap. The code linked above instead fails when a duplicate handle is encountered. This behavior should be changed, so that cross-mapped items can be backed up and restored via AIPs.
|
|
|
|
|
|
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel