Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1062

Subscription email reports new items twice, sometimes.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2
    • Fix Version/s: 1.8.1, 3.0
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      1
    • Comments:
      2

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            scottphillips Scott Phillips
            Reporter:
            scottphillips Scott Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: