Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.7

Bug #16802 Location used without being processed
Submitted: 2009-11-19 04:12 UTC
From: yunosh Assigned: eru
Status: Closed Package: Services_Weather (version 1.4.5)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 32 + 23 = ?

 
 [2009-11-19 04:12 UTC] yunosh (Jan Schneider)
Description: ------------ getWeather() and getForecast() of the weather.com driver use the $_location property which is only being set by the getLocation() method. So unless you call that information first, you get PHP notices and broken behavior.

Comments

 [2009-11-19 04:12 UTC] yunosh (Jan Schneider)
 [2009-12-08 19:05 UTC] doconnor (Daniel O'Connor)
Any chance of a minor executable test script to fully demonstrate the problem?
 [2009-12-08 20:12 UTC] yunosh (Jan Schneider)
 [2009-12-08 20:13 UTC] yunosh (Jan Schneider)
You've got to run the script twice, because the errors are only triggered after a cache hit.
 [2011-07-26 20:03 UTC] eru (Alexander Wirtz)
-Status: Open +Status: Closed -Assigned To: +Assigned To: eru
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Thanks for the report and especially the patch!