Ticket #141 (closed defect: fixed)
Legend widget is not updating correctly
| Reported by: | CivilEng | Owned by: | madair |
|---|---|---|---|
| Priority: | P2 | Milestone: | 2.0 |
| Component: | Widgets | Version: | 1.0.6 |
| Severity: | Critical | Keywords: | |
| Cc: | External ID: | ||
| state: | New | Browser: | All |
| Operating System: | Windows |
Description
The steps in order to replicate the issue are:
1. To create a new session layer (programatically in MGOS). 2. Next, user themes the new session layer (according to his/her preference) then, the map widget is updated correctly however the legend widget is updated incorrectly.
The ranks shows in the legend widget are correct but the colors are wrongs.
I have used reloadMap since is the unique way of updating the legend programatically. What it happening is that the browser is caching the legend images from previos theme. When the browser cache is deleted then the legend widget is painted correctly.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

