We developed a pharmacy module for OpenMRS. Our testers have reported a strange issue where previous data reappear 1 time on 10 (this is an average) page refresh. At first, we thought it was related to the web browser cache, so we disabled it and passed it directly via the API calls. But we encountered the same issue. It seems 1 time on 10, the API brings back the old data…
In the following screenshots, you can see that sometimes the value of the field Virtual Stock goes back to its previous value 1 instead of the new 16. We checked on the database, and the value is 16.
Has anyone else encountered this?
Thank you all.