- Issue created by @acbramley
While playing around with translations and revisions to start work on π Revision UI reverts all language translations when only one language is reverted Active I found a bug when creating revisions of blocks in Umami.
If I edit a block and save a new revision without changing anything else on the form, the revision is saved with the revision_translation_affected
flag set to NULL. However, if this block is not controlled by Content moderation (or some other means or forcing revision_translation_affected to TRUE) then that new revision is now the current revision, but doesn't show in the revision overview screen for the block because ->isRevisionTranslationAffected()
returns FALSE.
Potentially update this line to check isDefaultRevision()
too?
I don't really know the ins and outs of revision_translation_affected though, maybe this is expected behaviour?
NodeController::revisionOverview doesn't seem to do anything special here either so I'm not sure.
Confirm what's expected
Confirm fix
Tests