Problem/Motivation

Modal forms within the editor receive error message upon submission.

Steps to reproduce

1) Enable core Workspaces module
2) Switch to any other workspace than default.
3) Try to submit a field in the backend modal form.

Proposed resolution

Add $form_state("workspace_safe", TRUE); to src/Form/ComponentFormBase.php at line 297.

As I am not 100 % sure what security implications this could have it would be great if someone with more workspace-knowledge could advise if ythis could lead to security issues.

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

roromedia created an issue. See original summary.

hauke-vq’s picture

That would definitely be something important for me too. Workspaces opens up very practical workflows.

sethhill made their first commit to this issue’s fork.

sethhill’s picture

Linking to https://www.drupal.org/project/mercury_editor/issues/3495098, as Workspaces compatibility in Layout Paragraphs is required for compatibility with Mercury Editor.

joegraduate’s picture

Version: 2.1.0 » 3.0.x-dev
joegraduate’s picture

Status: Active » Needs review

justin2pin made their first commit to this issue’s fork.

justin2pin’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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