FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16802&edit=1

ID: 16802
Updated by: alex@pc4p.net
Reported By: jan at horde dot org
Summary: Location used without being processed
-Status: Open
+Status: Closed
Type: Bug
Package: Services_Weather
Package Version: 1.4.5
PHP Version: Irrelevant
-Assigned To:
+Assigned To: eru
Roadmap Versions:
New Comment:

-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!


Previous Comments:
------------------------------------------------------------------------

[2009-12-08 15:13:17] yunosh

You've got to run the script twice, because the errors are only
triggered after a cache hit.

------------------------------------------------------------------------

[2009-12-08 15:12:40] yunosh

Added #patch bug:16802;patch:location_test.php;revision:1260285160;.

------------------------------------------------------------------------

[2009-12-08 14:05:26] doconnor

Any chance of a minor executable test script to fully demonstrate the
problem?

------------------------------------------------------------------------

[2009-11-18 23:12:19] yunosh

Added #patch bug:16802;patch:location.diff;revision:1258585939;.

------------------------------------------------------------------------

[2009-11-18 23:12:06] yunosh

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.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJul 26, '11 at 2:03p
activeJul 26, '11 at 2:03p
posts1
users1
websitepear.php.net

1 user in discussion

Alex: 1 post

People

Translate

site design / logo © 2022 Grokbase