[ 
https://issues.apache.org/jira/browse/SOLR-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shalin Shekhar Mangar updated SOLR-823:
---------------------------------------

    Attachment: SOLR-823.patch

Since we are already storing the requestParams Map, no need to change 
VariableResolverImpl.

Added a test over Noble's patch. I'll commit this shortly.

> ${dataimporter.request.xxx} variables are not resolved
> ------------------------------------------------------
>
>                 Key: SOLR-823
>                 URL: https://issues.apache.org/jira/browse/SOLR-823
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4
>            Reporter: Mck SembWever
>            Priority: Critical
>             Fix For: 1.4
>
>         Attachments: SOLR-823.diff, SOLR-823.patch, SOLR-823.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to