[fusion-trac] #282: Error message in Taskpane when fusion timeout is unexpected.

Fusion trac_fusion at osgeo.org
Tue Sep 8 16:40:35 EDT 2009


#282: Error message in Taskpane when fusion timeout is unexpected.
--------------------------+-------------------------------------------------
 Reporter:  christinebao  |         Owner:  madair 
     Type:  defect        |        Status:  new    
 Priority:  P2            |     Milestone:  Future 
Component:  Widgets       |       Version:  1.1.1  
 Severity:  Major         |    Resolution:         
 Keywords:                |   External_id:  1250065
    State:  New           |       Browser:  All    
       Os:  All           |  
--------------------------+-------------------------------------------------
Comment (by chrisclaydon):

 In each of the patches, you're introducing a chunk of code that looks like
 this:

 {{{


 <?php } else { ?>

 <?php if ($errorDetail == null || (strlen($errorDetail) -
 strlen($errorMsg) < 5)) { ?>


 }}}

 I think you could use "else if" instead...

 {{{


 <?php } else if ($errorDetail == null || (strlen($errorDetail) -
 strlen($errorMsg) < 5)) { ?>


 }}}

 And the code would be a little cleaner.

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