Overview
found in #3526907: For content entities add client support conflict detection via the `autoSaves' key
ApiLayoutController::buildPreviewRenderable() always auto-saves regions regardless of $updateAutoSave value
This might be needed but we should have a note why this is
Proposed resolution
Either add a comment as to why this is needed or fix
User interface changes
Issue fork experience_builder-3530857
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
tedbowComment #4
wim leersThis bug was introduced in #3492061: Include the preview HTML in the layout controller payload, i.e. where
$updateAutoSavewas introduced.This seems like a trivial, innocent oversight. Requiring test coverage for this seems overkill.
Nice one, @tedbow!
Comment #5
wim leersComment #7
larowlanThis conflicted with #3529622: Make auto-save manager only support passing and returning entity objects, remove support for arbitrary data, use deterministic hashing to ensure entries are actually updates but I had made the same change there and that's what it conflicted on - nice!
Comment #8
wim leersNice indeed! 😄