You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a typo in the configuration key for searchResultClassName in the code. The key contains an unintended trailing space ('searchResultClassName ') which leads to incorrect behavior when retrieving the configuration value.
Description
There is a typo in the configuration key for
searchResultClassName
in the code. The key contains an unintended trailing space ('searchResultClassName '
) which leads to incorrect behavior when retrieving the configuration value.Steps to Reproduce
ext-solr/Classes/Domain/Search/ResultSet/Result/SearchResultBuilder.php
Line 48 in b6bfad8
searchResultClassName
inTYPO3_CONF_VARS
:'searchResultClassName '
) is being checked.Expected Behavior
The code should check for the key without the trailing space (
'searchResultClassName'
) and fall back to the defaultSearchResult::class
if not set.Actual Behavior
The code currently checks for the key with a trailing space (
'searchResultClassName '
), which causes the custom configuration to be ignored.Proposed Fix
Replace the following line:
With:
The text was updated successfully, but these errors were encountered: