Skip to content

Duplicate records (for both Birth and Death) Not Flagged when both records are created Offline #7215

@tiri39

Description

@tiri39

Bug description:
If two same records are created offline and sent or approval, and then switched to online mode, the record leaves outbox without the duplicate warning toast "(tracking id) is a potential duplicate. Record is ready for review".

Steps to reproduce:

  1. Login as RA.
  2. Create two same records in offline mode.
  3. Send the records for approval and observe them in outbox.
  4. Switch to online.
  5. Observe that the records leaves outbox without the toast - "(tracking id of the second) is a potential duplicate. Record is ready for review".
  6. Navigate to the Ready for Review workqueue and observe that the second record is not in this workqueue.
  7. Navigate to the Sent for Approval workqueue and observe that both the records are in this workqueue.

Actual result:
Both the records are in the Sent for Approval workqueue.

Expected result:
The second record should be in the Ready for Review workqueue and should have the duplicate icon.

Screenshot/Recording:

dup-offline-not-marked.mp4

Tested on:
https://login.farajaland-qa.opencrvs.org/

Version:
V1.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    In Design

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions