Marco Weiss created DS-1514:
-------------------------------
Summary: Embargo settings on item import
Key: DS-1514
URL: https://jira.duraspace.org/browse/DS-1514
Project: DSpace
Issue Type: Bug
Components: XMLUI
Affects Versions: 3.1
Environment: KVM based Ubuntu 12.04 LTS x86_64 guest. Java Oracle JDK 6
Reporter: Marco Weiss
Briefly, i'm able to import and overwriting items in withdrawn state with the
packager AIP import but i can not revert to visible state with the packager AIP
import.
Here you can find the discussion on the mailing list
http://www.mail-archive.com/[email protected]/msg20168.html
It takes a while but now i tested it again in 3.1 and i have the same picture
as at that time in 3.0
Now for reproducing what i did.
I exported an item that is in visible and active state
/home/dspace/dspace/bin/dspace packager -d -t AIP -e [email protected]
-i 123456789/211 aipexport.zip
So i think i have the item as AIP in state visible and active.
I browsed now the item in XMLUI and set it to inactive and withdrawn state
I exporting it again in that state
/home/dspace/dspace/bin/dspace packager -d -t AIP -e [email protected]
-i 123456789/211 aipexport-withdrawn.zip
Now i want to see the difference between this two packages.
I unzipped the first aipexport.zip and moved the mets.xml to mets-orig.xml and
that should be the XML for that item 123456789/211 in active and visible state.
I unzipped the second aipexport-withdrawn.zip and did a diff of these two files.
diff mets-orig.xml mets.xml
3c3
< <metsHdr LASTMODDATE="2013-03-11T07:53:21">
---
> <metsHdr LASTMODDATE="2013-03-11T07:58:09">
41a42,45
> <dim:field mdschema="dc" element="description" qualifier="provenance"
> lang="en">Item withdrawn by admin ([email protected]) on
> 2013-03-11T06:58:09Z
> Item was in collections:
> Digitalisate (ID: 1)
> No. of bitstreams: 0</dim:field>
220,224c224
< <xmlData xmlns:rights="http://cosimo.stanford.edu/sdr/metsrights/"
xsi:schemaLocation="http://cosimo.stanford.edu/sdr/metsrights/
http://cosimo.stanford.edu/sdr/metsrights.xsd"><rights:RightsDeclarationMD
xmlns:rights="http://cosimo.stanford.edu/sdr/metsrights/"
RIGHTSCATEGORY="LICENSED">
< <rights:Context CONTEXTCLASS="GENERAL PUBLIC">
< <rights:Permissions DISCOVER="true" DISPLAY="true" MODIFY="false"
DELETE="false" />
< </rights:Context>
< </rights:RightsDeclarationMD></xmlData>
---
> <xmlData xmlns:rights="http://cosimo.stanford.edu/sdr/metsrights/"
> xsi:schemaLocation="http://cosimo.stanford.edu/sdr/metsrights/
> http://cosimo.stanford.edu/sdr/metsrights.xsd"><rights:RightsDeclarationMD
> xmlns:rights="http://cosimo.stanford.edu/sdr/metsrights/"
> RIGHTSCATEGORY="LICENSED" /></xmlData>
232a233
> <dim:field mdschema="dc" element="rights"
> qualifier="accessRights">WITHDRAWN</dim:field>
Above you can see the difference between the two states and i expect that if i
now import the AIP that i exported at the time the item was in visible and
acitve state it should be visible and active after that but it isn't!
/home/dspace/dspace/bin/dspace packager -r -f -t AIP -e
[email protected] aipexport.zip
Maybe i'm doing something wrong, if that is the point please correct me.
Elsewise it is a bug like Helix supposed in his mail as i wrote the first time
about that situation in 3.0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel