[Chameleon-dev] [Bug 1853] New: [Chameleon-Core]Invalid map size in
CWCInitializeMap when the current state and map are not set
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Tue Feb 19 10:16:51 EST 2008
http://bugzilla.maptools.org/show_bug.cgi?id=1853
Summary: [Chameleon-Core]Invalid map size in CWCInitializeMap
when the current state and map are not set
Product: Chameleon
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: nsavard at mapgears.com
When a Chameleon application is used as a service instance, a new map object is
created in CWCInitializeMap with an invalid size (1). This happens because
msMapSetExtent (mapobject.c) calls msAdjustExtent (maputil.c) which does a
width-1 and height-1 calculation (see below).
ox = MS_MAX(((width-1) - (rect->maxx - rect->minx)/cellsize)/2,0); /* these
were width-1 and height-1 */
oy = MS_MAX(((height-1) - (rect->maxy - rect->miny)/cellsize)/2,0);
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Chameleon-dev
mailing list