[fusion-trac] #474: Improve startup error message quality

Fusion trac_fusion at osgeo.org
Thu Sep 1 01:49:52 EDT 2011


#474: Improve startup error message quality
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:  jng   
       Type:  defect   |      Status:  new   
   Priority:  P2       |   Milestone:  Future
  Component:  Widgets  |     Version:        
   Severity:  Major    |    Keywords:        
External_id:           |       State:  New   
    Browser:  All      |          Os:  All   
-----------------------+----------------------------------------------------
 Initialization errors from Common.php are not being returned as proper
 JSON. This is because of 2 things:

  1. Redundant exception information is being written out, which renders
 the JSON error (that has already been written) invalid.

  2. The callback for the CreateSession.php ajax call always assumes
 success (which is not true. eg: MapGuide Server is offline), so it never
 properly reports any error JSON responses.

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