[PP-1] For less conflict errors only validate region auto-save on layout PATCH

Created on 24 June 2025, 18 days ago

Overview

Follow-up to πŸ“Œ [PP-1] Enforce conflict enforcement outside of tests and e2e tests Postponed where we threw a conflict exception in \Drupal\experience_builder\Controller\ApiLayoutController::validateAutoSaves() if the client didn't have the latest auto-saves of all of the entities on the page, the main entity and the regions. For \Drupal\experience_builder\Controller\ApiLayoutController::patch() it would have been easy to just validate the region containing the component being updated but it was decided that it was safer to validate all entities because we could then prompt the user to reload the browser and ensure the client state is up-to-date

Proposed resolution

Decide if we want up only validate the region or entity containing the component in πŸ“Œ Replace the postPreview action with atomic equivalents Active \Drupal\experience_builder\Controller\ApiLayoutController::patch() and or if want to wait allow concurrent editing in [

User interface changes

πŸ“Œ Task
Status

Postponed

Version

0.0

Component

Auto-save

Created by

πŸ‡ΊπŸ‡ΈUnited States tedbow Ithaca, NY, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024