Subscription email reports new items twice, sometimes.
------------------------------------------------------

                 Key: DS-1062
                 URL: https://jira.duraspace.org/browse/DS-1062
             Project: DSpace
          Issue Type: Bug
          Components: DSpace API
    Affects Versions: 1.7.2, 1.7.1, 1.7.0, 1.6.2, 1.6.1, 1.6.0, 1.5.2, 1.5.1, 
1.5.0
            Reporter: Scott Phillips
            Assignee: Scott Phillips
             Fix For: post-1.8.0
         Attachments: Subscribe.java.patch

There is currently a bug in the collection subscription feature caused by an 
oversight in date-time calculation. It manifests itself by erroneously include 
the same item in multiple daily mailings, i.e. an item submitted yesterday 
would appear in emails sent both today and tomorrow. The specific issue was 
caused by converting the current datetime from default timezone to UTC, then 
truncating the time and timezone offset information. Since the bug involves the 
offset of the local timezone from UTC, the effects of this bug are more 
significant the farther away from UTC time. It is possible to mitigate the 
effect by changing the time of the subscription cron job to be later than the 
UTC offset.

--
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

        

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to