[ 
http://jira.dspace.org/jira/browse/DS-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kim Shepherd updated DS-527:
----------------------------

    Attachment: DS-527.patch

Patch attached, diff against trunk @ 4871.

This patch bypasses the authZ check and adds item to harvest results if 
"withdrawn" as passed to Harvest.harvest is "true" and the item is withdrawn.

Note: Historically, DSpaceOAICatalog has always called Harvest.harvest with 
withdrawn = true.

My feeling is that the patched behaviour is the correct behaviour, because 
compliant OAI harvesters will not direct traffic towards items with 
status="deleted", and will remove the record from its own index. For example, 
items that were accidentally made public and then withdrawn can be properly 
unindexed downstream. However, the argument could be made that this authZ 
bypass should be be configurable too.

> Withdrawn items not shown as deleted in OAI
> -------------------------------------------
>
>                 Key: DS-527
>                 URL: http://jira.dspace.org/jira/browse/DS-527
>             Project: DSpace 1.x
>          Issue Type: Bug
>          Components: OAI-PMH
>    Affects Versions: 1.6.0
>         Environment: Opensuse Linux
>            Reporter: John
>            Assignee: Kim Shepherd
>         Attachments: DS-527.patch
>
>
> There are two ways of deleting: Expunging and Withdrawing. The difference is 
> meant to be that the former takes it out of the system completely, while the 
> latter informs harvesters about the deletion and allows reinstatiating the 
> item.
> Everything works (Listing the withdrawn items, reinstantiating them, OAI-PMH 
> display of various metadataformats), except for the 'deleted' information in 
> the OAI-PMH header - that's just missing.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to