[mapguide-internals] MapGuide 2.2 beta crashes
Jason Birch
jason at jasonbirch.com
Sat Oct 16 19:21:21 EDT 2010
It can be avoided by testing if the resource exists first using a call
that was introduced in (I think) 2.1. Can't remember its name off
hand. Fusion was updated to use it at the time; I only remember this
because I back-ported the changes to my local 1.1 code.
On 2010-10-15, Zac Spitzer <zac.spitzer at gmail.com> wrote:
> Is there task for that corruption problem?
>
> On Sat, Oct 16, 2010 at 4:21 AM, Gabriele Monfardini
> <gabrimonfa at gmail.com> wrote:
>> Dear Jason,
>>
>> for layers I usually use
>> $layerCollection = $map->GetLayers();
>> and tests
>> $layerCollection->Contains($layerName)
>>
>>> There's a nasty memory
>>> corruption problem if you just try to catch a failed
>>> getresourcecontent call
>> Good (and scary) to know
>>
>> Regards,
>>
>> Gabriele Monfardini
>> _______________________________________________
>> mapguide-internals mailing list
>> mapguide-internals at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>>
>
>
>
> --
> Zac Spitzer
> Solution Architect / Director
> Ennoble Consultancy Australia
> http://www.ennoble.com.au
> http://zacster.blogspot.com
> +61 405 847 168
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>
More information about the mapguide-internals
mailing list