Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E8519916 for ; Fri, 1 Mar 2013 02:13:13 +0000 (UTC) Received: (qmail 46547 invoked by uid 500); 1 Mar 2013 02:13:12 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 46477 invoked by uid 500); 1 Mar 2013 02:13:12 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 46470 invoked by uid 99); 1 Mar 2013 02:13:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Mar 2013 02:13:12 +0000 Date: Fri, 1 Mar 2013 02:13:12 +0000 (UTC) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SOLR-4515) OpenExchangeRatesOrgProvider needs to require a ratesFileLocation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Hoss Man created SOLR-4515: ------------------------------ Summary: OpenExchangeRatesOrgProvider needs to require a rates= FileLocation Key: SOLR-4515 URL: https://issues.apache.org/jira/browse/SOLR-4515 Project: Solr Issue Type: Bug Reporter: Hoss Man OpenExchangeRatesOrgProvider currently defaults the value of the "ratesFile= Location" init param to "http://openexchangerates.org/latest.json" -- but t= hat 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 =C2=BB=20 {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 no= w, anyone who configures this provider w/o explicitly setting ratesFileLoca= tion 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 U= SD to USD. Available rates are []" -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs 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