[Tickets #3526] NEW: Error in Weather.com portal block

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Feb 23 16:29:21 PST 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=3526
-----------------------------------------------------------------------
 Ticket             | 3526
 Created By         | hordebugs at ethan.elfhame.net
 Summary            | Error in Weather.com portal block
 Queue              | Horde Base
 Version            | 3.0.9
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


hordebugs at ethan.elfhame.net (2006-02-23 16:29) wrote:

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.





More information about the bugs mailing list