I am facing an issue while saving a table/graph that is shared in a private UserGroup. Here some details:
With the latest stable version 28, system does not allow you to update a resource and save it when this resource is shared to a specific userGroup you belong to.
To reproduce this bug in demo, do the following (either in Event Report or Event visualizer tool, Pivot table works fine):
Create a table and save it (screenshot 1)
Allow administrators to view and edit but not to public (screenshot2)
Update table (screenshot3)
Try to save it (screenshot4)
An error appears : Object references an unsaved translent instance - Save translent instance beforeQuery.flushing: org.hisp.dhis.user.UserGroupAccess. (screenshot 5)
we are facing this same issue when moving an EventReport / EventChart from one instance to another. Using the Import/Export tool we can see the same error logged in server’s log file.
It only affects to EventReport / EventCharts that have some type of sharing - those without sharing work fine.
I am facing an issue while saving a table/graph that is shared in a private UserGroup. Here some details:
With the latest stable version 28, system does not allow you to update a resource and save it when this resource is shared to a specific userGroup you belong to.
To reproduce this bug in demo, do the following (either in Event Report or Event visualizer tool, Pivot table works fine):
Create a table and save it (screenshot 1)
Allow administrators to view and edit but not to public (screenshot2)
Update table (screenshot3)
Try to save it (screenshot4)
An error appears : Object references an unsaved translent instance - Save translent instance beforeQuery.flushing: org.hisp.dhis.user.UserGroupAccess. (screenshot 5)