[Mapguide-trac] [mapguide-trac] #2743: Infinite recursive call in CreateMapLayer
MapGuide Open Source
trac_mapguide at osgeo.org
Tue Sep 27 00:21:16 PDT 2016
#2743: Infinite recursive call in CreateMapLayer
-----------------------+-------------------------------------
Reporter: hm | Owner: jng
Type: defect | Status: new
Priority: medium | Milestone: Maestro-6.0
Component: Maestro | Version: 3.1.0
Severity: minor | Keywords: infinite recursive loop
External ID: |
-----------------------+-------------------------------------
In PlatformConnectionBase.cs line 2005 this method is declared:
public RuntimeMapLayer CreateMapLayer(RuntimeMap parent, IMapLayer
source) => CreateMapLayer(parent, source);
This create a infinite recursive call to the same mathod.
It should be changed to:
public RuntimeMapLayer CreateMapLayer(RuntimeMap parent, IMapLayer
source) => CreateMapLayer(parent, source, false);
Workaround is to not use the above method, but us the one with the "bool
supressErrors" parameter.
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2743>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list