[
https://issues.apache.org/jira/browse/SOLR-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13614485#comment-13614485
]
Chris Eldredge commented on SOLR-4361:
--------------------------------------
Snippet of our configuration that stopped working in 4.2:
{code:title=solrconfig.xml|borderStyle=solid}
<requestHandler name="/dataimport"
class="org.apache.solr.handler.dataimport.DataImportHandler">
<lst name="defaults">
<str name="server.prefix">${server.prefix:}</str>
</lst>
</requestHandler>
{code}
{code:title=data-config.xml|borderStyle=solid}
<dataSource type="URLDataSource"
baseUrl="http://${dataimporter.request.server.prefix}api.fool.com" />
{code}
Changing server.prefix to server-prefix makes it work again.
> DIH request parameters with dots throws UnsupportedOperationException
> ---------------------------------------------------------------------
>
> Key: SOLR-4361
> URL: https://issues.apache.org/jira/browse/SOLR-4361
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Affects Versions: 4.1
> Reporter: James Dyer
> Assignee: James Dyer
> Priority: Minor
> Fix For: 4.3, 5.0, 4.2.1
>
> Attachments: SOLR-4361.patch
>
>
> If the user puts placeholders for request parameters and these contain dots,
> DIH fails. Current workaround is to either use no dots or use the 4.0 DIH
> jar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]