Problem/Motivation
Backport the combined patches in #2914873: The "from state" used for calculating available transitions is changed when using the content moderation state widget and preview mode and #3065802: Preview and content moderation widget broken for unsaved entities to 8.7.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 3065804-10.patch | 9.48 KB | chr.fritsch |
Comments
Comment #2
sam152 commentedComment #3
chr.fritschBoth patches landed in 8.8.x now.
Comment #4
chr.fritschHere is the combined patch of the two listed issues.
Comment #5
jibranAs it is combining the fixes from two bug reports, this should be classified as a bug. I don't think we can commit it to 8.7 if we classify it as a task. Given that we should have a red patch here as well other than that this issue is RTBC.
Comment #6
chr.fritschRe-uploading #4
Comment #7
chr.fritschUploaded the wrong patch... 🤦🏻♂️
Comment #9
alexpottI'm not sure that we should be adding this interface change in 8.7.x
As far as I can see #2914873-53: The "from state" used for calculating available transitions is changed when using the content moderation state widget and preview mode had the fix without the interface change by duplicating code.
Comment #10
chr.fritschOk, so here is a patch without the interface change.
Comment #12
volkerk commentedModerationInformationInterface is not changed anymore, functionality is moved back to the widget.
Looks good to me.
Comment #13
jibran@chr.fritsch thanks for addressing the feedback.
RTBC+1.
It is not DRY but the things we do in the name of BC :D
Comment #14
sam152 commentedLooks great, thanks for seeing it through +1 :)
Comment #16
xjmThanks for working on this! Unfortunately this can't go in anymore because 8.7.9 was released on November 6 as the final bugfix release of 8.7, and there will be no more commits to the branch other than security fixes.
However, my understanding is this fix is already available in 8.8, and 8.8.0 will be released very soon on December 4.
Thanks