You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Yohann Callea (Jira)" <ji...@apache.org> on 2024/01/17 14:40:00 UTC
[jira] [Created] (SOLR-17119) Exception swallowing in ContainerPluginsApi causes some config validation errors to be ignored
Yohann Callea created SOLR-17119:
------------------------------------
Summary: Exception swallowing in ContainerPluginsApi causes some config validation errors to be ignored
Key: SOLR-17119
URL: https://issues.apache.org/jira/browse/SOLR-17119
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: Plugin system, v2 API
Affects Versions: 9.4
Reporter: Yohann Callea
When registering a _ConfigurablePlugin_ through the _/cluster/plugin_ API using the _V2Request_ client, exceptions raised within theĀ _*void configure(T*_ *_cfg)_* are swallowed in ContainerPluginsApi.
This behavior can be troublesome as the exceptions raised in the configure(...) method are usually validation errors on the configuration to be applied, which are therefore ignored and allow for invalid plugin configuration to become effective.
I proposed a change in [apache/solr#2202|https://github.com/apache/solr/pull/2202] to remediate this issue along with a test to illustrate the scenario and validate the fix.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org