Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16164

ConfigSet API returns error if untrusted user creates from _default configset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 9.0
    • 9.0
    • configset-api
    • 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

          Activity

            People

              krisden Kevin Risden
              epugh Eric Pugh
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h