-
Notifications
You must be signed in to change notification settings - Fork 203
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
EZP-30823: Fixed possible race condition on version loading #2739
Conversation
Change version loading to not rely on first having to load content info to get current version number, just like done for content load some time ago.
Co-Authored-By: Adam Wójs <adam.wojs@ez.no>
@ezsystems/qa-team : This one is ready for testing, but the two others on cache transaction isolation (#2740, #2749) are still waiting for review. Two options:
|
From my pov the most effective way to test both issues would be to have branches for testing with the combined changes for each stable branch. Is that feasible? |
yes it is, I'll ping on slack qa channel when I have pushed it |
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.
QA Approved.
Retest successful for Content List block issue and wrong current version issue on eZ Platform EE v1.7.9 with 6.7_race_cond_testing branch. Verified with sanities.
As agreed testing on v1.13.5 will be done post merge.
Testing on v2.5 is ongoing in scope of #2749 / 7.5_race_cond_testing branch.
6.7
Change version loading to not rely on first having to load content info to get current version number (risking it having changed in between), just like done for content load some time ago.
BENEFIT: Avoids having to load ContentInfo within
loadVersionInfo()
when loading current version.TODO:
$ composer fix-cs
).ON MERGE:
ezcontentobject_is_hidden
, ...), patch: