[ 
https://jira.duraspace.org/browse/DS-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark H. Wood resolved DS-775.
-----------------------------

    Resolution: Won't Fix

Can't reproduce.  Please reopen if you find a way to make it fail reliably.

> Implementation of DayTableEmbargoSetter.java not working as expected.
> ---------------------------------------------------------------------
>
>                 Key: DS-775
>                 URL: https://jira.duraspace.org/browse/DS-775
>             Project: DSpace
>          Issue Type: Bug
>          Components: DSpace API
>    Affects Versions: 1.7.0
>            Reporter: Tim Ribaric
>            Assignee: Mark H. Wood
>            Priority: Major
>         Attachments: DayTableEmbargoSetter_mod.java
>
>
> The original implementation of DayTableEmbargoSetter.java worked by grabbing 
> the system time in milliseconds computing the embargo period in milliseconds 
> adding the two and then casting into a Date.  For whatever reason this never 
> calculates correctly in all the test cases I attempted.  I rewrote a few 
> lines of the class to instead use a Calendar offset to figure out the Lift 
> Date.  I think this is a more reliable implementation but I'm happy to hear 
> what others say.

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

        

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to