lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Commit Tag Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-4515) OpenExchangeRatesOrgProvider needs to require a ratesFileLocation
Date Sat, 02 Mar 2013 06:39:12 GMT

    [ https://issues.apache.org/jira/browse/SOLR-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591329#comment-13591329
] 

Commit Tag Bot commented on SOLR-4515:
--------------------------------------

[trunk commit] Chris M. Hostetter
http://svn.apache.org/viewvc?view=revision&revision=1451838

SOLR-4515: typo

                
> OpenExchangeRatesOrgProvider needs to require a ratesFileLocation
> -----------------------------------------------------------------
>
>                 Key: SOLR-4515
>                 URL: https://issues.apache.org/jira/browse/SOLR-4515
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 4.2, 5.0
>
>         Attachments: SOLR-4515.patch
>
>
> OpenExchangeRatesOrgProvider currently defaults the value of the "ratesFileLocation"
init param to "http://openexchangerates.org/latest.json" -- but that URL currently 301 redirects
to a page with the following information...
> {panel}
> Notice: App ID Required
> As per public notices beginning June 2012, an App ID is required to access the Open Exchange
Rates API. It's free for personal use, a bargain for your business. You can sign up here ยป

> {panel}
> ...so we should update the code to require users to be explicit about their URL (including
APP_ID) or point to a local file.  As things stand right now, anyone who configures this provider
w/o explicitly setting ratesFileLocation ges a clean startup, but anytime they attempt to
use the fieldtype to do a conversion they get an error that "No available conversion rate
from USD to USD. Available rates are []"

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message