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

Jason Birch Jason.Birch at nanaimo.ca
Thu Dec 6 14:12:16 EST 2007

That's a pretty insane bug...

Can you please file a ticket for this on our Trac instance here?


Your problem description is quite good; please ensuee that you also
specify version, platform, etc in the ticket.


-----Original Message-----
From: Patrick Chevalier
Subject: Re: [mapguide-users] Problem in the GenerateFilter() method of
theMgSelection class

I just want to mention that this problem is really blocking because 1
out of 50 entities CANNOT be retrieved into an MgSelection.  That means
that I cannot guarantee my clients that my applications are bug free
because they encountered this problem and I can't give them any bug fix.
I hope somebody will help me find a solution very soon.

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!

More information about the mapguide-users mailing list