[mapguide-users] MgSelection::AddFeatures locks FeatureSource
GreenMapSanMiguel
webmaster at SMAmap.com
Fri Jul 17 12:27:24 EDT 2009
Fusion 2.1 appears to be leaving feature readers open in both Query and
Search as Jason Birch previously documented for Fusion 1.1. I have modified
my local versions as follows:
Fusion/layer/MapGuide/php/Query.php
The feature reader opened on line 140 is re-opened on line 261 under the
same name without first being closed. Added '$featureReader->Close();'
before line 261.
widgets/Search/Search.php
The feature reader is only being closed in the exception handling. Added
'$features->Close();' after line 227.
Unfortunately, making these changes does not fix the problem that I'm having
with layers remaining locked after use of setSelection and Search but it
does seem like good housekeeping to close the feature readers.
I don't know how to formally submit changes. Is there some documentation
available?
Thanks!
Andy
--
View this message in context: http://n2.nabble.com/MgSelection%3A%3AAddFeatures-locks-FeatureSource-tp3138306p3276422.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list