Skip to content

Comments

[BUGFIX:13.1] Respect plugin TS in RelevanceComponent#4538

Open
dkd-kaehm wants to merge 2 commits intoTYPO3-Solr:release-13.1.xfrom
dkd-kaehm:port/4532_13.1
Open

[BUGFIX:13.1] Respect plugin TS in RelevanceComponent#4538
dkd-kaehm wants to merge 2 commits intoTYPO3-Solr:release-13.1.xfrom
dkd-kaehm:port/4532_13.1

Conversation

@dkd-kaehm
Copy link
Collaborator

The RelevanceComponent gets a QueryBuilder injected via DI,
which in turn only receives global TypoScriptConfiguration, as the plugin
context is lost during DI.

Allow setting TypoScriptConfiguration in QueryBuilder to be
able to set the The TypoScriptConfiguration from the event,
similar to the startFrom() method to set the query.

Ports: #4532

Mikel Wohlschlegel and others added 2 commits February 19, 2026 14:51
… GarbageHandler

When page records reference a sys_language_uid that is not configured
in the site, Site::getLanguageById() throws an InvalidArgumentException.
The existing catch only handles SiteNotFoundException. This adds
InvalidArgumentException to the catch block so pages with unconfigured
languages are treated as non-indexable instead of crashing.

Fixes: TYPO3-Solr#4533
Ports: TYPO3-Solr#4534
The RelevanceComponent gets a QueryBuilder injected via DI,
which in turn only receives global TypoScriptConfiguration, as the plugin
context is lost during DI.

Allow setting TypoScriptConfiguration in QueryBuilder to be
able to set the The TypoScriptConfiguration from the event,
similar to the startFrom() method to set the query.

Ports: TYPO3-Solr#4532
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