Skip to content

[BUGFIX] Allow overriding content type restrictions - #781

Merged
achimfritz merged 1 commit into
masterfrom
bugfix/missing-restrictions
Oct 9, 2026
Merged

achimfritz merged 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
@achimfritz
achimfritz merged commit d5aca1a into master Oct 9, 2026
17 checks passed
@achimfritz
achimfritz deleted the bugfix/missing-restrictions branch October 9, 2026 12:24
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.

2 participants