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

${dataimporter.request.xxx} variables are not resolved

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.4
    • 1.4
    • None

    Description

      VariableResolverImpl only steps down instances of Maps down each dot-separation.
      See lines 97-98.

      Since ${dataimporter.request} is an instance of DataImporter.RequestParams these variables are not resolved contri to the documentation found here
      http://wiki.apache.org/solr/DataImportHandler#head-520f8e527d9da55e8ed1e274e29709c8805c8eae

      Attached is one fix, with a matching test.

      Attachments

        1. SOLR-823.diff
          2 kB
          Michael Semb Wever
        2. SOLR-823.patch
          3 kB
          Shalin Shekhar Mangar
        3. SOLR-823.patch
          0.9 kB
          Noble Paul

        Activity

          People

            shalin Shalin Shekhar Mangar
            mck Michael Semb Wever
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: