[fusion-trac] #359: Theme on raster layer cause an error

Fusion trac_fusion at osgeo.org
Sun Feb 7 05:20:27 EST 2010


#359: Theme on raster layer cause an error
---------------------+------------------------------------------------------
 Reporter:  liuar    |         Owner:  madair
     Type:  defect   |        Status:  new   
 Priority:  P2       |     Milestone:  Future
Component:  Widgets  |       Version:  1.1.1 
 Severity:  Major    |    Resolution:        
 Keywords:           |   External_id:        
    State:  New      |       Browser:  All   
       Os:  All      |  
---------------------+------------------------------------------------------
Comment (by liuar):

 [Analysis][[BR]]
 For layers which don't contain the geometry property, the layer's name
 will not be record in layerNames in theme.php[[BR]]
 So in thememain.php the layerSelect.value will be null, and the layerInfo
 request will fail.[[BR]]

 [Resolution/Workaround][[BR]]
 To resolve this problem, I checked the layerSelect.value, if it's null,
 just return.[[BR]]

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/359#comment:1>
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