Hi I have been looking into the Reporting Module and I noticed that occasionally all reports would disappear.
This usually happens after restarting an OpenMrs instance and seems to be more frequently when there is a change in an existing report.
- OpenMrs 2.4.0
- Reporting Module 1.21.0
- Serialization Xstream 0.2.14
The error logs can be seen bellow:
A similar issue was reported in the talk:
After looking into the database (serialized_object table), the report seems to contain
org.openmrs.User$HibernateProxy$ODcBnusu somewhere inside the column “serialized_data”
A snippet of this can be seen bellow:
... <name>HSU monthly days of admission</name> <description>HSU monthly days of admission</description> <creator class="org.openmrs.User$HibernateProxy$ODcBnusu" id="2" uuid="A4F30A1B-5EB9-11DF-A648-37A07F9C90FB"/> <dateCreated id="3">2021-04-15 07:56:57 UTC</dateCreated> <changedBy id="4" uuid="1c3db49d-440a-11e6-a65c-00e04c680037"/> ....