Workspace Switcher doesn't like AJAX calls that trigger a workspace constraint

Created on 27 August 2025, about 1 month ago

Problem/Motivation

When there is a workspace violation the entity_workflow workspace switcher takes over a page and the currently requested path gets set as the destination for when the workspace add form is submitted. If this was an AJAX request to load the editable page it breaks.

Steps to reproduce

  • Make a node publish it to live
  • Edit the node again in a workspace and save it
  • Switch to the Live workspace
  • While viewing the node click Edit Mode
  • The workspace switcher should take over the page
  • Click add a new workspace and submit
  • You should get an ajax response when there is no JS waiting for an ajax response

Proposed resolution

Add an outbound processor to catch and correct these types of scenarios.

πŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tim bozeman

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

Comments & Activities

Production build 0.71.5 2024