Skip to content

[6.x] Fix field layout session flashing#18847

Merged
riasvdv merged 1 commit into
6.xfrom
rias/cms-2072-6x-argument-1-fieldlayout-must-be-of-type-craftcms-cms
May 13, 2026
Merged

[6.x] Fix field layout session flashing#18847
riasvdv merged 1 commit into
6.xfrom
rias/cms-2072-6x-argument-1-fieldlayout-must-be-of-type-craftcms-cms

Conversation

@riasvdv
Copy link
Copy Markdown
Contributor

@riasvdv riasvdv commented May 13, 2026

Description

Fixes #18846

We flash the old fieldlayout so it can be re-rendered with existing elements on a validation error, this was mistakenly being reflashed as an array instead of a FieldLayout object which caused the exception.

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 13, 2026

CMS-2072

@riasvdv riasvdv merged commit 3af7b27 into 6.x May 13, 2026
18 checks passed
@riasvdv riasvdv deleted the rias/cms-2072-6x-argument-1-fieldlayout-must-be-of-type-craftcms-cms branch May 13, 2026 11:55
riasvdv added a commit that referenced this pull request May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant