Skip Menu |
 

This queue is for tickets about the Google-GeoCoder-Smart CPAN distribution.

Report information
The Basics
Id: 115505
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Google-GeoCoder-Smart

People
Owner: TTG [...] cpan.org
Requestors: andy.newby [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: v2.0.0



Subject: Key not being passed along
Date: Tue, 21 Jun 2016 09:48:13 +0100
To: bug-Google-GeoCoder-Smart [...] rt.cpan.org
From: Andy Newby <andy.newby [...] gmail.com>
Download (untitled) / with headers
text/plain 542b
There is a major bug in this version. You have: if($self->{key}) { $keyVar = "&key=$self->{key}"; } my $content = get("http://$self->{host}/maps/api/geocode/json?address=$addr $CITY $STATE $ZIP&sensor=false"); ...but should be: my $content = get("http://$self->{host}/maps/api/geocode/json?address=$addr $CITY $STATE $ZIP&sensor=false$keyVar"); I spent ages going round and round trying to work out why we were not getting stats / hitting a daily limit - and this was the issue :/ Cheers Andy Newby WWW: http://www.ultranerds.co.uk


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.