[fusion-trac] #435: MapMessage can raise an error on refreshLayout()

Fusion trac_fusion at osgeo.org
Wed Feb 23 21:04:35 EST 2011


#435: MapMessage can raise an error on refreshLayout()
-------------------------+--------------------------------------------------
   Reporter:  jng        |       Owner:  madair
       Type:  defect     |      Status:  new   
   Priority:  P2         |   Milestone:  2.2   
  Component:  Core       |     Version:        
   Severity:  Major      |    Keywords:        
External_id:             |       State:  New   
    Browser:  IE8(beta)  |          Os:  All   
-------------------------+--------------------------------------------------
 In MapMessage.js the refreshLayout() function can possibly assign a
 negative width resulting in a scripting error.

 This happens if the application definition is being viewed from within
 internet explorer that has been embedded in a .net application, and the
 application window is minimised.

 Attached is a patch that simply guards against negative widths being
 assigned in refreshLayout()

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