[fusion-trac] #326: Query: One error happened once completing the Polygon drawn in previous Query condition.

Fusion trac_fusion at osgeo.org
Fri Dec 11 05:16:26 EST 2009


#326: Query: One error happened once completing the Polygon drawn in previous
Query condition.
---------------------+------------------------------------------------------
 Reporter:  jennyhe  |         Owner:  madair 
     Type:  defect   |        Status:  closed 
 Priority:  P2       |     Milestone:  Future 
Component:  Widgets  |       Version:  1.1.1  
 Severity:  Major    |    Resolution:  fixed  
 Keywords:           |   External_id:  1277664
    State:  New      |       Browser:  All    
       Os:  All      |  
---------------------+------------------------------------------------------
Comment (by christinebao):

 To prevent IE from null object error, add a check for whether
 mgApiActiveControl is null. Please see the attached patch.

 This user scenario is weird, and it's not the expected behavior. Query
 should only have one geometry for spatial filter, either polygon or
 rectangle. When start drawing polygon, it records the points to form the
 polygon, and finally use these points as spatial filter; When start
 drawing rectangle, it records the points of the rectangle for spatial
 filter. It's impossible to both query polygon and rectangle.

 However in this defect, there will be two geometries left. As the last
 point is ended by polygon, Query will use the points of polygon for
 spatial filter, while ignoring rectangle. After discussing with QA, this
 behavior is treated as acceptable, as 1) it's not a common user behavior.
 2) it's ok as long as no error happens.

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