Skip to content

Fix ArrayFilter crashing when the filtered property is not a displayed field#7704

Open
guillaume-sainthillier wants to merge 1 commit into
EasyCorp:5.xfrom
guillaume-sainthillier:fix-array-filter-missing-field-dto
Open

Fix ArrayFilter crashing when the filtered property is not a displayed field#7704
guillaume-sainthillier wants to merge 1 commit into
EasyCorp:5.xfrom
guillaume-sainthillier:fix-array-filter-missing-field-dto

Conversation

@guillaume-sainthillier

Copy link
Copy Markdown
Contributor

ArrayFilter::apply() dereferenced its FieldDto argument without checking
it for null, even though the parameter is nullable and EntityRepository
passes null whenever the filtered property is not configured as a field
of the current page. Submitting such a filter caused a 500 error.

…d field

ArrayFilter::apply() dereferenced its FieldDto argument without checking
it for null, even though the parameter is nullable and EntityRepository
passes null whenever the filtered property is not configured as a field
of the current page. Submitting such a filter caused a 500 error.
@guillaume-sainthillier
guillaume-sainthillier force-pushed the fix-array-filter-missing-field-dto branch from 91ffbe9 to 12f476b Compare July 13, 2026 07:33
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