6.0.0-beta1
8/10/25

[#3526] Error in Weather.com portal block
Summary Error in Weather.com portal block
Queue Horde Base
Queue Version 3.0.9
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester hordebugs (at) ethan (dot) elfhame (dot) net
Created 02/24/2006 (7107 days ago)
Due
Updated 02/24/2006 (7107 days ago)
Assigned
Resolved 02/24/2006 (7107 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/24/2006 08:14:17 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
The error "Error: The weather.com block is not available."  is still
displayed. This is not the correct behavior.
It is. That's the expected behaviour.
02/24/2006 12:29:21 AM hordebugs (at) ethan (dot) elfhame (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Error in Weather.com portal block
Queue ⇒ Horde Base
Reply to this comment
Steps to reproduce:



1. Fresh install of Horde from debian package 3.0.9-2

2. Make sure that one of the requirements for the Weather.com Portal 
Block is broken (allow_url_fopen=false, or missing Cache or 
Services_Weather).

3. Log into Horde

4. Navigate: Horde -> Layout

5. Drop-down: "Horde: weather.com"

6. Click "Add"



The expected "Error: The weather.com block is not available."  now 
shows up.  This is good.



Next do the following steps without logging out of Horde:



7. Delete the weather.com block.

8. Fix the missing requirement from step #2.

9. Navigate: Horde -> Layout

10. Drop-down: "Horde: weather.com"

11. Click "Add"



The error "Error: The weather.com block is not available."  is still 
displayed. This is not the correct behavior.



Workaround: Log out of horde and log back in. Once this is done, the 
error will be gone.



The issue appears to be that the portal configuration is stored in the 
session, and will never be regenerated (even if the block is removed 
and re-added).



The workaround isn't hard, and once it's done it's fixed permanently, 
but it took me two hours to realize that's what I had to do to fix it. 
  If nothing else, hopefully this bug report will save somebody else 
those two hours.



This probably affects any other portal blocks which display similar errors.


Saved Queries