Closed sworup closed 2 years ago
Resolved with #4912
Tested in latest apk
@sworup The changes in Tablet2 is overridden. Also, the deleted vax events in Tablet2 ios still showing in the vaccination history when synced in the order explained above in the test case.
Re-tested as part of #4920
Describe the bug
When new vaccine event is created all other vaccine events of the Patient are updated along with it causing sync issues.
To reproduce
Steps to reproduce the behaviour:
Expected behaviour
Proposed Solution
https://github.com/openmsupply/mobile/blob/80824641c7e16273c75d5750d70f2e13d5e02de9/src/database/utilities/createRecord.js#L337
Version and device info
Additional context
Add any other context about the problem here.