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

ID: 16802
Updated by: daniel.oconnor@gmail.com
Reported By: jan at horde dot org
Summary: Location used without being processed
Status: Open
Type: Bug
Package: Services_Weather
Package Version: 1.4.5
PHP Version: Irrelevant
Roadmap Versions:
New Comment:

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


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

[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

  • Jan at Dec 8, 2009 at 2:13 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=16802&edit=1

    ID: 16802
    Updated by: jan@horde.org
    Reported By: jan at horde dot org
    Summary: Location used without being processed
    Status: Open
    Type: Bug
    Package: Services_Weather
    Package Version: 1.4.5
    PHP Version: Irrelevant
    Roadmap Versions:
    New Comment:

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


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

    [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.

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 8, '09 at 1:05p
activeDec 8, '09 at 2:13p
posts2
users2
websitepear.php.net

2 users in discussion

Daniel Oconnor: 1 post Jan: 1 post

People

Translate

site design / logo © 2022 Grokbase