[Chameleon-dev] [Bug 840] New: [Chameleon - Widgets] Some nav tool
based widgets are double calling constructor
bugzilla-daemon at www.maptools.org
bugzilla-daemon at www.maptools.org
Thu Nov 11 13:45:42 EST 2004
http://www.maptools.org/bugzilla/show_bug.cgi?id=840
Summary: [Chameleon - Widgets] Some nav tool based widgets are
double calling constructor
Product: Chameleon
Version: 1.99
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Widget
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: wbronsema at dmsolutions.ca
Just for the record, I have found a number widgets that inadvertantly call their
parent's constructor twice.
i.e.
parent::NavTool();
$this->NavTool();
This probably happened when the code was updated to call the parent contructor
properly using the parent::NavTool method. The old code was just not removed.
I have fixed this in the ZoomIn, ZoomOut, Extract, PanMap, MONPhotoSearch,
MONQuery, Query, ROIMode, Recenter, Ruler, ZoomAllLayers widgets. Please fix
any other widgets that you find this problem in.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Chameleon-dev
mailing list