[Chameleon-dev] [Bug 1014] New: map crash when using keymap widget
and no reference object in MAP file
bugzilla-daemon at maptools.org
bugzilla-daemon at maptools.org
Wed Apr 27 16:07:51 EDT 2005
http://www.maptools.org/bugzilla/show_bug.cgi?id=1014
Summary: map crash when using keymap widget and no reference
object in MAP file
Product: Chameleon
Version: 2.0
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: bartvde at xs4all.nl
Today I struggled with the following.
I tried to use a copy my MAP file in the Chameleon samples by renaming it to
world_wms.map.
But then I got:
Error rendering map image. A fatal error has occurred .... please restart the
application.
When digging into this, I found this was caused by my MAP file missing a
REFERENCE object, and my template having a KeyMapDHTML widget. But it took a lot
of digging :).
The cause is apparently in the generated session MAP file which gets a default
extent of -1 -1 -1 which causes this:
REFERENCE
COLOR 255 0 0
EXTENT -1 -1 -1 -1
IMAGE "C:\ms4w\apps\chameleon\samples\htdocs/images/world_key.png"
OUTLINECOLOR 0 0 0
SIZE 0 0
STATUS OFF
MARKER 0
MARKERSIZE 0
MINBOXSIZE 3
MAXBOXSIZE 0
END
Can anything be done about this?
------- 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