- Issue created by @idebr
- π¦πΊAustralia acbramley
Nice find @idebr, tested locally and the call to createRevision will fix this for Diff. I'm going to work on this today.
I'll also open a follow up to have NodeRevisionRevertForm extend RevisionRevertForm as there's a lot of duplication there.
- π³π±Netherlands idebr
Test coverage shows the issue is fixed. Contrib tests in π Fix tests (next minor) Active are fixed as well with this change. Thanks!
- π¨πSwitzerland berdir Switzerland
We can clean a bit then, left a comment.
I also verified that \Drupal\node\Form\NodeRevisionRevertTranslationForm::prepareRevertedRevision does this correctly.
Hi, Iβm new to the issue queue ,I setup a fresh Drupalβ―11.2 site and tried the above mention steps to replicate the bugs,After the revert, a new revision shows up in the list and is marked as the current one, so everything looks normal on my end.Is there another condition that I need to add to see the bug?Let me know and Iβll test again.
- π³π±Netherlands idebr
I added a screencast on a new Drupal standard installation on 11.2.x with steps to reproduce
@idebr Thanks for checking it out.Please try making some changes while editing the content, then save it. Once saved, try reverting the content to see if the issue reproduces.