[
https://jira.duraspace.org/browse/DS-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27666#comment-27666
]
Mark H. Wood commented on DS-220:
---------------------------------
The unique-identifier difficulty appears to manifest in
org.dspace.sword.DepositManager, around line 186. DSpace coins the identifier
when an Item enters the repository. If the owning Collection has a workflow,
no identifier will be assigned at deposit time. To do this right, we'd have to
assign the identifier(s) when an Item enters workflow, not when it leaves.
That would mean that a submission which is rejected causes an identifier to be
wasted. Is that a big problem? or just a little untidy?
> No unique identifier returned in the SWORD response for the deposit if a
> workflow is configured for the collection
> ------------------------------------------------------------------------------------------------------------------
>
> Key: DS-220
> URL: https://jira.duraspace.org/browse/DS-220
> Project: DSpace
> Issue Type: Bug
> Components: SWORD
> Affects Versions: 1.5.2
> Environment: Collection is configured to require a accept/reject
> process. Doing a deposit using a SWORD client. The deposit is successful but
> no unique id is returned in the SWORD response.
> Reporter: Andrew Bai
> Assignee: Mark H. Wood
> Priority: Major
> Attachments: deposit_response_rmpl_withioutworkflow.xml,
> deposit_response_rmpl_withworkflow.xml
>
>
> in the response returned from the deposit, the "atom entry" doesn't have a
> unique id. Instead it just has the following url that points to the homepage
> of the DSpace JSP user interface: http://vm:12:8080/jspui. It also doesn't
> have a "atom:content" entry which is required according to SWORD profile 1.3.
> In SWORD AtomPub profile version 1.3, the following extracts can be found in
> section 9.6:
> "the atom:id element MUST contain a unique identifier for the deposit";
> "MUST contain an atom:content element with a src attribute containing a uri"
--
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
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel