[Mapguide-trac] [mapguide-trac] #2338: Gracefully handle invalid resources when updating menu/toolbar status

MapGuide Open Source trac_mapguide at osgeo.org
Sun Aug 11 05:18:23 PDT 2013


#2338: Gracefully handle invalid resources when updating menu/toolbar status
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:  jng  
       Type:  defect   |      Status:  new  
   Priority:  low      |   Milestone:       
  Component:  Maestro  |     Version:  2.5.0
   Severity:  trivial  |    Keywords:       
External_id:           |  
-----------------------+----------------------------------------------------
 Some commands in Maestro are enabled/disabled based on some state of the
 active editor and it usually involves its associated resource. If this
 resource is invalid for any reason that would throw up an exception it
 will derail Maestro.

 As it stands, wrapping a try/catch around the status update and condition
 evaluation code will not suffice as the current code will simply spam the
 MapGuide Server for the same invalid resource.

 We need a mechanism where if the active editor's resource is invalid that
 there be some way for the editor to mark such resource as invalid so that
 the code will know not to spam the MapGuide Server for the same invalid
 resource.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2338>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list