Skip to content

Conversation

@pschriner
Copy link
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
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',
                )) {

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

3 participants