Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX:BP:11.5] add empty string as fallback #3559

Conversation

dkd-friedrich
Copy link
Member

Backport of #3444


What this pr does

ensure a string is always returned, even if the query does not exist

How to test

Define a queryGroup "A", filter by that new group, manipulate the url by hand, submit form. Page should not show error.

lukasniestroj and others added 2 commits March 27, 2023 13:49
ensure a string is always returned, even if the query does not exist

Ports: 3444
Invalid filter options will lead to Solr errors and exceptions
in frontend. This commit adds an additional check, ensuring invalid
filter options will not be applied.

A log entry will help the website administrator to solve the
issue.

Ports: 3444
@dkd-friedrich dkd-friedrich merged commit f14861f into TYPO3-Solr:release-11.5.x Apr 4, 2023
@dkd-friedrich dkd-friedrich deleted the bugfix/release-11.5.x/handle_invalid_facet_options branch April 4, 2023 08:14
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