Closed alainsussol closed 1 year ago
@alainsussol should be fixed by issue #5215 I have fixed this issue and released a rc version for now. I am going to release 8.6.6 after rc testing, and hoping that this issue should be fixed. So going to close this issue
@alainsussol and @arjunSussol Tested and passed.
@AnushaUp Thank you :). I don't have a tablet anymore so I will not be able to retest these..
@alainsussol Lets hope it wont appear again😅
Describe the bug
I am not quite sure yet but it seems that sometimes I trigger the duplicate alert when selecting a patient, not just when creating a new patient. Seems to happens more consistently when I use the Search Online button.
In fact it seems that the problem happens each time I select the same patient a second time. It seems that the validation is done all the time and not just when adding a new patient but when searching too. Maybe it compare your new selected patient to the one you have selected previously when searching for a patient.
https://github.com/openmsupply/mobile/assets/11624516/7924fdbc-2343-4414-8b43-b5e81a5f4ea8
To reproduce
With Kiribati-Vax datafile Steps to reproduce the behaviour: After setup and initialisation (it is quite slow so I suggest to start it a couple of hours before you want to start testing)
Expected behaviour
I believe that this validation for duplicate patient should only happen when adding a new patient. I believe it should not happen when searching for a patient.
Proposed Solution
as Expected behaviour.
Version and device info
Additional context
Testing Vaccine module