[mapguide-users] Problem in the GenerateFilter() method of the MgSelection class

Bruno Scott bscott at geomapgis.com
Thu Dec 6 10:11:35 EST 2007


This is very weird that nobody has ever notice that!
This bug is very blocking.
3 differents sdf and 3 different shp, all with the same problem, wow.

I'm going to try with a different provider, just to see!

IT really seems like a big bug, you know 256 is not a magic number!!!

Bruno



Patrick Chevalier wrote:
> 
> 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.
> 248, 249, 250, 251
> 504, 505, 506, 507
> 760, 761, 762, 763
> ... and so on.
> 
> You can download the application at this address :
>  http://www.geomapgis.ca/webdownloads/MAPGUIDE_ERROR.zip
> 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!
> 

-- 
View this message in context: http://www.nabble.com/Problem-in-the-GenerateFilter%28%29-method-of-the-MgSelection-class-tf4937455s16610.html#a14193896
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list