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
serialized_data not included when m2m field changes #518
Comments
It seems that all is needed is to add
to LogEntry.log_m2m_changes() |
```
I confirm. Did you also check for the additional_data field? Although I define the get_additional_data method of the respective class, the additional_data field is not set. The method get_additional_data is called though.
```
No, I haven't checked that.
|
Which branch should I look at to see this fix? I cannot find it on master |
Sorry. I thought it got fixed. Could you provide a patch with the fix? |
It's just the line in #518 (comment). I can create a PR if that's preferrable |
It would be great if this change will fix the problem. please remember you need to provide:
|
Ahh, that's why I didn't bother for just a one line change :) |
I have the following setting:
When a field changes for a Meeting, "serialized_data" is provided. however, when one of t he M2M fields changes, the "serialized_data" field is left empty. I need serialized_data as a means to track changes to related objects. E.g the history of an opportunity includes the history of changes to all its meetings, and I find that by inspecting serialized_data and getting the value of the foreign key.
The text was updated successfully, but these errors were encountered: