Opened 8 years ago

Closed 8 years ago

#2743 closed defect (fixed)

Infinite recursive call in CreateMapLayer

Reported by: hm Owned by: hm
Priority: medium Milestone: Maestro-6.0
Component: Maestro Version: 3.1.0
Severity: minor Keywords: infinite recursive loop
Cc: External ID:

Description

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.

Change History (4)

comment:1 by hm, 8 years ago

Owner: changed from jng to hm

comment:2 by hm, 8 years ago

Owner: changed from hm to jng

I have checked in the changes to trunk.

comment:3 by hm, 8 years ago

Owner: changed from jng to hm
Status: newassigned

comment:4 by hm, 8 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.