[Tickets #10804] Re: some issues with the new weather block

bugs at horde.org bugs at horde.org
Tue Nov 29 22:58:17 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10804
------------------------------------------------------------------------------
  Ticket             | 10804
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | some issues with the new weather block
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
-State              | Resolved
+State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2011-11-29 22:58) wrote:

> tried the latest from git (some seconds ago), and still have the  
> problem with the units.

What location are you using and what other blocks are you displaying?  
I can't reproduce this with *any* driver, whereas before this change,  
I could.

> i added a Horde::debug($this->_weather) in __get

__get() in *which* file?

  > and that units is
> everytime 1 (STANDARD) also after changing the block configuration.  
> i've looked over the code but didn't find the place where the units  
> from configuration of the block is set to the driver.

 From horde/lib/Block/Weather.php, line 102:

         // Set the requested units.
         $weather->units = $this->_params['units'];






More information about the bugs mailing list