-
Notifications
You must be signed in to change notification settings - Fork 29
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
IBX-4031: Forced copy non-translatable field values from main content to current draft during publish #380
IBX-4031: Forced copy non-translatable field values from main content to current draft during publish #380
Conversation
It seems that for some reason, maybe totally unrelated, integration tests are failing at random here. Could you check if those changes could introduce that behavior? Also, not sure, but maybe it is reasonable to move that new integration test into new integration setup based on TestKernel? @alongosz |
… to current draft during publish
… to current draft during publish
cd1cf68
to
d49629a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@barw4 looks very good. I have some small remarks and an idea which should workaround SonarCloud code duplication issue for now:
...gration/Core/Repository/ContentService/CopyNonTranslatableFieldsFromPublishedVersionTest.php
Show resolved
Hide resolved
...gration/Core/Repository/ContentService/CopyNonTranslatableFieldsFromPublishedVersionTest.php
Outdated
Show resolved
Hide resolved
...gration/Core/Repository/ContentService/CopyNonTranslatableFieldsFromPublishedVersionTest.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional nitpicking:
...gration/Core/Repository/ContentService/CopyNonTranslatableFieldsFromPublishedVersionTest.php
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Regression tests passed: |
v3.3
Following PR assures that a content that is being published will have updated values for its non-translatable fields taken from main published version.
Related PR: ezsystems/ezplatform-content-forms#71
Checklist:
$ composer fix-cs
).@ezsystems/engineering-team
).