We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ObjectBefore doesn't contain relationship fields, but ObjectAfter does.
ObjectBefore
ObjectAfter
When looking for changes between before and after, relationship fields always show up making it look like their values are being changed all the time.
before
after
Managed object, relationship field roles, property prop
roles
prop
{ "prop": "foo", "roles": "[list-of-actual-roles]" }
prop property value is changed
Audit log is created with the following values: ObjectBefore:
{ "prop": "foo" }
ObjectAfter:
{ "prop": "bar", "roles": "[list-of-actual-roles]" }
This looks as if roles were added.
Audit log is created with ObjectBefore looking like this:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ObjectBefore
doesn't contain relationship fields, butObjectAfter
does.When looking for changes between
before
andafter
, relationship fields always show up making it look like their values are being changed all the time.Description by example:
Given:
Managed object, relationship field
roles
, propertyprop
When:
prop
property value is changedThen:
Audit log is created with the following values:
ObjectBefore:
ObjectAfter:
This looks as if roles were added.
Expected behavior:
Audit log is created with
ObjectBefore
looking like this:ObjectAfter:
The text was updated successfully, but these errors were encountered: