[Chameleon-dev] [Bug 1014] map crash when using keymap widget and no reference object in MAP file

bugzilla-daemon at maptools.org bugzilla-daemon at maptools.org
Wed May 4 09:37:41 EDT 2005


http://www.maptools.org/bugzilla/show_bug.cgi?id=1014





------- Additional Comments From pspencer at dmsolutions.ca  2005-05-04 09:37 -------
This is odd.  Did you provide valid extents in your widget attributes?

MapServer will automatically create a default reference object if the mapfile
doesn't contain one.  I suspect that you didn't provide extents in your widget
and that caused the problem.

The fix would be to test the extents of the reference object if extents are not
provided as part of the widget definition.  Unfortunately there is no way to do
conditionally optional attributes (i.e. minx only required if extents not set in
reference object) so it will have to be manually tested in the widget
intialization and an appropriate error message emitted if the extents are -1 -1
-1 -1.

Bart, are you willing to investigate a fix for 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