Solr
  1. Solr
  2. SOLR-7941

multivalued params are concatenated when using config API

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      curl http://localhost:8983/solr/example/config -H 'Content-type:application/json'  -d '{
        "update-requesthandler" : {
          "name": "/rh",
          "class":"solr.DumpRequestHandler",
          "defaults":{  "p": ["a","b","c" ]}
         }
      }’
      

      makes p be a literal string of '[a,b,c]' - instead of an array of strings

      1. SOLR-7941.patch
        3 kB
        Noble Paul
      2. SOLR-7941.patch
        1 kB
        Noble Paul

        Activity

        Hide
        Noble Paul added a comment -

        a testcase that reproduces this

        Show
        Noble Paul added a comment - a testcase that reproduces this
        Hide
        Noble Paul added a comment -

        fix w/ a testcase

        Show
        Noble Paul added a comment - fix w/ a testcase
        Hide
        ASF subversion and git services added a comment -

        Commit 1696453 from Noble Paul in branch 'dev/trunk'
        [ https://svn.apache.org/r1696453 ]

        SOLR-7941: multivalued params are concatenated when using config API

        Show
        ASF subversion and git services added a comment - Commit 1696453 from Noble Paul in branch 'dev/trunk' [ https://svn.apache.org/r1696453 ] SOLR-7941 : multivalued params are concatenated when using config API
        Hide
        ASF subversion and git services added a comment -

        Commit 1696458 from Noble Paul in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1696458 ]

        SOLR-7941: multivalued params are concatenated when using config API

        Show
        ASF subversion and git services added a comment - Commit 1696458 from Noble Paul in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1696458 ] SOLR-7941 : multivalued params are concatenated when using config API

          People

          • Assignee:
            Noble Paul
            Reporter:
            Noble Paul
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development