Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed audit primary Id attributes from audit NewValue and OldValue properties #1787

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

hortha
Copy link
Contributor

@hortha hortha commented Jan 3, 2025

Due to us needing to store audit history as serialized XML in blob storage, the deserialization was incorrectly setting the primary Id attributes for the NewValue and OldValue properties (making it seem like they had changed).
This change removes them after they have been deserialized.

@hortha hortha requested a review from gunndabad January 3, 2025 19:28
@hortha hortha force-pushed the fix-sync-audit-issue-where-id-is-seen-as-changed branch from 44b060b to 7df1e69 Compare January 6, 2025 10:26
@hortha hortha force-pushed the fix-sync-audit-issue-where-id-is-seen-as-changed branch from 7df1e69 to 334785a Compare January 6, 2025 11:00
@hortha hortha force-pushed the fix-sync-audit-issue-where-id-is-seen-as-changed branch 2 times, most recently from 5903654 to 491718b Compare January 6, 2025 13:46
@hortha hortha force-pushed the fix-sync-audit-issue-where-id-is-seen-as-changed branch from 491718b to af59dad Compare January 6, 2025 16:31
…properties which get wrongly set during derialization from XML.

Fixed linting issues

Reduced page size to try and fix timeout errors saving events

Increase timeout when saving events for induction sync

Amended to only get entity versions for attributes we are interested in
@hortha hortha force-pushed the fix-sync-audit-issue-where-id-is-seen-as-changed branch from 69a2b37 to f2fcc0a Compare January 7, 2025 13:46
@hortha hortha merged commit a2f4aad into main Jan 7, 2025
22 checks passed
@hortha hortha deleted the fix-sync-audit-issue-where-id-is-seen-as-changed branch January 7, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants