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

Command icon 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

tedbow created an issue. See original summary.

tedbow’s picture

Status: Active » Needs review
wim leers’s picture

Component: Page builder » Auto-save
Status: Needs review » Reviewed & tested by the community

This bug was introduced in #3492061: Include the preview HTML in the layout controller payload, i.e. where $updateAutoSave was introduced.

This seems like a trivial, innocent oversight. Requiring test coverage for this seems overkill.

Nice one, @tedbow!

wim leers’s picture

Status: Reviewed & tested by the community » Fixed

  • wim leers committed 0819fbfd on 0.x authored by tedbow
    Issue #3530857 by tedbow, wim leers: ApiLayoutController::...
larowlan’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.