Problem/Motivation

The SiteOverrideContentEntityFormDecorator is being applied while rendering embedded Webforms inside overridden entity forms, although it should only decorate the actual content entity form.

This leads to the decorator being executed for WebformSubmissionForm instances that are rendered as part of a field inside the entity form.

applies() is executed for all forms, including embedded Webform submission forms rendered inside entity fields.

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

valegole created an issue. See original summary.

hydra’s picture

Status: Active » Needs work
valegole’s picture

Status: Needs work » Needs review

  • hydra committed fdfa25eb on 1.x authored by valegole
    fix: #3592053 Form Decorator incorrectly applies to embedded Webform...
hydra’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.