[fusion-trac] #141: Legend widget is not updating correctly

Fusion trac_fusion at osgeo.org
Thu Oct 16 13:40:29 EDT 2008


#141: Legend widget is not updating correctly
------------------------+---------------------------------------------------
   Reporter:  CivilEng  |       Owner:  pspencer
       Type:  defect    |      Status:  new     
   Priority:  P2        |   Milestone:  2.0     
  Component:  Widgets   |     Version:  1.0.6   
   Severity:  Critical  |    Keywords:          
External_id:            |       State:  New     
    Browser:  All       |          Os:  Windows 
------------------------+---------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/141>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list