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

SolrCLI.atPath cannot handle children that begin with a slash.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.5, 7.0
    • Fix Version/s: 6.6, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      When getting an element of a configuration from JSON where the name of one of the elements in the tree begins with a slash (e.g. /query), SolrCLI.atPath fails because it splits on the slash.

      We either need a way to escape it or add an alternate delimiter. Here's one way that works, what do people think?

        Attachments

        1. SOLR-10519.patch
          1 kB
          Erick Erickson
        2. SOLR-10519.patch
          3 kB
          Erick Erickson
        3. SOLR-10519.patch
          3 kB
          Erick Erickson

          Activity

            People

            • Assignee:
              erickerickson Erick Erickson
              Reporter:
              erickerickson Erick Erickson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: