Task #310
closedSynchronization - previous audit version not exist
100%
Description
After synchronization Identities not exist any previous version of this entity.
Found bug synchronization/audit?
Updated by Ondřej Kopr about 7 years ago
Problem found with get version of entity -> Two or more updates for one entity in one transaction. Envers get revisionId for current revision but this revision hasn't version/snapshots for entity update in this revision => NULL pointer. (One transaction == one revision).
What to do? For now is disable get changed columns from last revision. Everything else work perfect and faster (we need check previous entity more).
Discussion: Is this solution right? I can get these version from hibernate session - walk around envers.
Updated by Ondřej Kopr about 7 years ago
Describe problem with this thing into KB: https://proj.bcvsolutions.eu/ngidm/doku.php?id=navrh:audit
Updated by Ondřej Kopr about 7 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Vít Švanda
- % Done changed from 0 to 90
For now is this problem fixed with skip getChangedColumns. Please check comments. :) Thank you.
Updated by Vít Švanda about 7 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Ondřej Kopr
- % Done changed from 90 to 100
I confirm, that changed columns not really not dispalyed in audit table.