Skip to content

[BUGFIX] Allow overriding content type restrictions - #781

Open
achimfritz wants to merge 1 commit into
masterfrom
bugfix/missing-restrictions
Open

achimfritz wants to merge 1 commit into
masterfrom
bugfix/missing-restrictions

Conversation

@achimfritz

Copy link
Copy Markdown
Contributor

ContainerConfiguration::changeGridColumnConfiguration() only applies a fixed list of fields from the given override, e.g. when called from a listener for BeforeContainerConfigurationIsAppliedEvent.

When TYPO3 core introduced the column options "allowedContentTypes" and "disallowedContentTypes", they were not added to that list. As a result, they could not be changed this way and were silently ignored.

Add both options to the list of fields that can be overridden.

ContainerConfiguration::changeGridColumnConfiguration() only applies
a fixed list of fields from the given override, e.g. when called from
a listener for BeforeContainerConfigurationIsAppliedEvent.

When TYPO3 core introduced the column options "allowedContentTypes"
and "disallowedContentTypes", they were not added to that list. As
a result, they could not be changed this way and were silently
ignored.

Add both options to the list of fields that can be overridden.
@achimfritz
achimfritz requested a review from bmack October 8, 2026 12:12
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