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

Fix content changelog field handling #6565

Conversation

rossriley
Copy link
Contributor

I'm not sure exactly where the bug starts manifesting itself but sometimes the changelog will record a diff for relation and taxonomy fields, even if there are no taxonomy or relations set on a contenttype.

The root cause of this was that the metadata for the field was not set on the LogChange entity although it was expecting the property to be available.

This fixes that issue by injecting the metadata into the entity object after it has been fetched in the Repository.

If the field is not then set, the transformation will be skipped.

I've tested this on 3.3 and 3.4 and this seems to work.

@GwendolenLynch GwendolenLynch force-pushed the fix/content-changelog-field-handling branch from 2a958a3 to 704482d Compare April 11, 2017 07:07
@GwendolenLynch GwendolenLynch merged commit 09890db into bolt:release/3.3 Apr 11, 2017
@rossriley
Copy link
Contributor Author

any chance of merging this into 3.4 when you get a chance too.

@GwendolenLynch GwendolenLynch added this to the Bolt 3.3 - Feature release milestone Jul 18, 2017
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.

None yet

2 participants