Skip to content

[BUG] Downloaded documents contain incorrect annotations and comment dates show 1970 #419

Description

@pdji1602003

Describe the Bug:

Downloading a document with annotations from the Documents Dashboard is unusually slow. Once downloaded, the document may contain annotations created by another reviewer during a previous study session instead of the current user’s annotations.

For documents that were not previously reviewed, the correct annotations are included. However, comment dates in all downloaded documents are incorrectly displayed as dates in 1970.

This may indicate that annotations are being retrieved from the wrong study session and that comment timestamps are missing or incorrectly converted during document generation.

Reproducibilty:

  • Yes
  • No
  • Sometimes

The incorrect reviewer annotations appear to depend on whether the document was reviewed during a previous study session. The incorrect 1970 comment dates appear consistently.

Steps to Reproduce the Behavior:

  1. Create or join a study session and annotate a document.
  2. Ensure that the same document was previously reviewed and annotated by another user in an earlier study session.
  3. Open the Documents Dashboard.
  4. Locate the annotated document.
  5. Download the document with annotations.
  6. Observe how long the download takes to complete.
  7. Open the downloaded document.
  8. Inspect the annotations and their associated comment dates.
  9. Repeat the process with a document that was not reviewed in a previous study session.

Expected Behavior:

The annotated document should be generated and downloaded within a reasonable amount of time.

The downloaded document should contain only the current user’s annotations from the relevant study session.

Each comment should display the correct creation date and time.

Actual Behavior:

The download takes an unusually long time to complete.

If the document was reviewed in a previous study session, the downloaded file may contain annotations from that earlier reviewer instead of the current user’s annotations.

If the document was not previously reviewed, the correct annotations are included.

In both cases, comment dates are incorrectly displayed as dates in 1970.

Screenshots:

N/A

System Information:

N/A

Additional Information:

Bug found during EiwA workflow testing session.

Activity

  1. self-assigned this
    on Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions