[
https://jira.duraspace.org/browse/DS-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24909#comment-24909
]
Richard Jones commented on DS-1175:
-----------------------------------
Hi Richard,
For the time being I've gone for (1) above, and it seems to have worked. It
isn't particularly obvious from the UI that the item is embargoed, but that's
not such an issue right now. One thing that I did want to mention, though, was
that during testing I found that if the embargo date is interpreted as being in
the past when the EmbargoManager interprets it, and an exception is thrown, the
item in question vanishes! I have not explored this in detail, but it is
slightly concerning.
Cheers,
Richard
> EmbargoManager looks for Embargo Lift Date in Embargo Terms
> -----------------------------------------------------------
>
> Key: DS-1175
> URL: https://jira.duraspace.org/browse/DS-1175
> Project: DSpace
> Issue Type: Bug
> Components: DSpace API
> Affects Versions: 1.8.2
> Environment: All
> Reporter: Richard Jones
> Priority: Major
> Labels: embargo
>
> The DSpace configuration defines two fields for use in Embargo:
> embargo.field.terms - for user-supplied terms of embargo
> embargo.field.lift - for the lift date of the embargo
> The EmbargoManager attempts to load the lift date of the embargo from the
> embargo.field.terms field, and does not check the embargo.field.lift. This
> then throws an error if no date is available in the embargo.field.terms.
> Looking deeper into this, there appears to be minimal usage of the
> embargo.field.lift field, and the documentation is confusing. Probably the
> fix is a rationalisation of what each of these fields actually means, and a
> re-implementation of at least the EmbargoManager and DefaultEmbargoSetter for
> consistency.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel