[fusion-trac] #216: Mapserver - Deleting the first layer in the 'LayerControl' widget returns "success:false"

Fusion trac_fusion at osgeo.org
Thu Feb 19 15:47:05 EST 2009


#216: Mapserver - Deleting the first layer in the  'LayerControl' widget returns
"success:false"
--------------------------+-------------------------------------------------
   Reporter:  pdeschamps  |       Owner:  pdeschamps
       Type:  defect      |      Status:  new       
   Priority:  P2          |   Milestone:  2.0       
  Component:  Widgets     |     Version:  SVN       
   Severity:  Minor       |    Keywords:            
External_id:              |       State:  New       
    Browser:  All         |          Os:  All       
--------------------------+-------------------------------------------------
 In SetLayers.php line 58 the for loop that cycles through the current
 layer indexes and passed in indexes never reaches the last item of the
 array. the for loop simply needs to be '<=' and not '<'

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/216>
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