[mapguide-users] MGOS 2.0: MgUpdateFeatures broken

gregboone greg.boone at autodesk.com
Fri Apr 4 10:29:27 EDT 2008



I have another recommendation. You should make a call to
FdoIFeatureReader->Dispose() after the call to Close() so that the garbage
collection can happen immediately and all allocated SQLite resources freed.

Greg


Maksim Sestic wrote:
> 
> Hi Ismael,
> 
> In case you're using managed wrapper, you may consider reading following
> thread on FDO wiki:
> http://www.nabble.com/.net-Wrapper-quirks-to16318694s18162.html
> 
> including related Ticket:
> http://trac.osgeo.org/fdo/ticket/284
> 
> Regards,
> Maksim Sestic
> 
> 
> 
> Ismael Cams wrote:
>> 
>> You are right. It was indeed a FeatureReader problem. I was closing it,
>> but only after having done the update. Somehow it did not give problems
>> in MGOS 1.2.
>> I have moved the close() before the deletion/update of the feature and it
>> is working fine now. 
>> 
>> Thanks for the help.
>> 
>> 
>> zspitzer wrote:
>>> 
>>> if your refering to the thread 'Please try your operation later as the
>>> resource was busy' from Adam
>>> it was indeed a feature reader problem
>>> 
>>> On Fri, Apr 4, 2008 at 5:45 PM, Ismael Cams <mapguide2007 at gmail.com>
>>> wrote:
>>>>
>>>>  The featurereader is closed. The identical code is behaving correct on
>>>> MGOS
>>>>  1.2.
>>>>  There is a parallel thread on the forum at the moment which is
>>>> describing
>>>>  the same problem withe updating and deleting features. Might be a bug
>>>> or
>>>>  changed behaviour ?
>>>>
>>>>
>>>>
>>>>  did you open a feature reader and not close it?
>>>>
>>>>
>>>>  --
>>>>  View this message in context:
>>>> http://www.nabble.com/MGOS-2.0%3A-MgUpdateFeatures-broken-tp16467463s16610p16485938.html
>>>>
>>>>
>>>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>>>
>>>>  _______________________________________________
>>>>  mapguide-users mailing list
>>>>  mapguide-users at lists.osgeo.org
>>>>  http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>>
>>> 
>>> 
>>> 
>>> -- 
>>> Zac Spitzer -
>>> http://zacster.blogspot.com (My Blog)
>>> +61 405 847 168
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/MGOS-2.0%3A-MgUpdateFeatures-broken-tp16467463s16610p16491561.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list