[ https://issues.apache.org/jira/browse/SOLR-16164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Risden updated SOLR-16164: -------------------------------- Affects Version/s: (was: main (10.0)) > ConfigSet API returns error if untrusted user creates from _default configset > ----------------------------------------------------------------------------- > > Key: SOLR-16164 > URL: https://issues.apache.org/jira/browse/SOLR-16164 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: configset-api > Affects Versions: 9.0, 9.1 > Reporter: Eric Pugh > Assignee: Kevin Risden > Priority: Blocker > Time Spent: 1h 50m > Remaining Estimate: 0h > > 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" -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org