Skip to content

Can create vaccination event for deleted patient if we've not synced manually before #4910

Open
@nishaDangol-Sussol

Description

@nishaDangol-Sussol

Describe the bug

When a patient is deleted in homestore1, but another store2 which has not manually synced, now can create vaccination event for that deleted patient and that record is saved as well.

To reproduce

Steps to reproduce the behaviour:

  1. Create a patient in store1 and sync.
  2. Make that patient visible in store2 as well.
  3. Now, delete that patient from store1 and sync
  4. In store2, do not sync and search that patient online and create a vaccination event.
  5. It allows. Save it and sync.
  6. Now, further vaccination event cannot be added but latest record has been saved to a deleted patient.

Expected behaviour

??

Proposed Solution

Leave if you don't know how to fix/implement. Edit this issue description and explain here if you know the best path of implementing the fix within the codebase.

Version and device info

  • App version: latest apk

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug: developmentBug was found and believed to only be in development branchesPriority: unconfirmedProject: K COVID-19 VaxIssues specifically related to K COVID-19 Vax project / customisations.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions