Skip to content

[BUGFIX] Handle inaccessible solr server in reporst module better#4508

Open
pschriner wants to merge 1 commit into
TYPO3-Solr:mainfrom
pschriner:bugfix/4507_Handle-inaccessible-solr-server-in-reports-module-better
Open

[BUGFIX] Handle inaccessible solr server in reporst module better#4508
pschriner wants to merge 1 commit into
TYPO3-Solr:mainfrom
pschriner:bugfix/4507_Handle-inaccessible-solr-server-in-reports-module-better

Conversation

@pschriner
Copy link
Copy Markdown
Contributor

@pschriner pschriner commented Dec 22, 2025

Refs: #4507

What this pr does

When the solr server is not accessible, the reports module can crash due to an unexpected response.

How to test

Please add a testing instruction here

Fixes: #4507

Copy link
Copy Markdown
Contributor

@thomashohn thomashohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The are other places where the getPluginsInformation is also access that needs to be fixed also in AccessFilterPluginInstalledStatus.

I would prefer:

adminService->getPluginsInformation()->plugins
                && !property_exists(
                    $adminService->getPluginsInformation()->plugins->QUERYPARSER,
                    'org.apache.solr.llm.textvectorisation.search.TextToVectorQParserPlugin',
                )) {

@kitzberger
Copy link
Copy Markdown
Contributor

Please merge and backport to 12.x

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.

[BUG] Reports module // PluginInformation can contain no plugins

4 participants