[mapguide-trac] #354: Problem in the GenerateFilter() method of the
MgSelection class
MapGuide Open Source
trac_mapguide at osgeo.org
Mon Dec 3 11:38:39 EST 2007
#354: Problem in the GenerateFilter() method of the MgSelection class
-------------------------------+--------------------------------------------
Reporter: pchevalier | Owner:
Type: defect | Status: new
Priority: medium | Milestone:
Component: Feature Service | Version: 2.0.0
Severity: major | Keywords: bug GenerateFilter MgSelection FeatId
External_id: |
-------------------------------+--------------------------------------------
I built a little web application that demonstrates the bug in the
GenerateFilter() method of the MgSelection class.
The bug seems to happen on a precise pattern inside the Feature Sources
and only on the Identity field.
The program demonstrate that no matter which SDF or SHP used (I only
tested these two), the GenerateFilter() method returns a random ID instead
of returning the correct FeatId (Identity). You can use your SDF to test
it too.
Always the same FeatIds are wrong :
It starts with the ID 248 for 4 polygons, and step by 256 after
that.[[BR]]
248, 249, 250, 251[[BR]]
504, 505, 506, 507[[BR]]
760, 761, 762, 763[[BR]]
... and so on.
You can download the application at this address :
[http://www.geomapgis.ca/webdownloads/MAPGUIDE_ERROR.zip]
Start by reading the ReadMe.txt file.
Be sure to give access to user ASPNET to your web folder application.
Thanks to anyone that may have a solution to this problem!
Sorry I posted on the Mapguide User forum with this bug too.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/354>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list