Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
9.0
-
None
Description
Original title: getConfigMetadata() returns NPE if there is no metadata defined on zk node for configset
While attempting to validate SOLR-16110, I discovered that on main, if you attempt to create a configset via the Configset API, you get a NPE.
Utils.fromJSON doesn't handle getting a null, and the call zkClient.getData(CONFIGS_ZKNODE + "/" + configName, null, null, true) is returning a null byte array.
curl "http://localhost:8983/solr/admin/configs?action=CREATE&name=test&baseName=_default"
Attachments
Issue Links
- is related to
-
SOLR-16110 Using Schema/Config API breaks the File-Upload of Config Set File
- Closed
- relates to
-
SOLR-15258 ConfigSetService: add CRUD operations, subsume ZkConfigManager
- Closed
- links to