MapTools.org

[Chameleon-dev] [Bug 195] [cwc2] More graceful handling of offline servers

bugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.org
Thu, 12 Feb 2004 10:30:14 -0500
http://www.maptools.org/bugzilla/show_bug.cgi?id=195





------- Additional Comments From spencer@dmsolutions.ca  2004-02-12 10:30 -------
drawmap should be attempting to draw the layer and suppressing the warnings from
mapserver, and then putting errors into the error manager so you would then get
a popup (if you had the error manager enabled) with whatever mapserver reports
... I have seen this working so I am not entirely sure what has gone wrong here.

In looking at the code, I think the problem is that it is not suppressing the
error messages from mapserver, which results in text output before the image ...
and ultimately corrupts the image.  I have changed chameleon-1.0.6 on xcalibur
to supress the message.  I need dean to test his app there and see if it fixes
the problem .... Dean, if the server is back online then you can always fake an
error by changing the context to point to an invalid server.

If this fixes the error then I will commit the change to
php_utils/wrapper/drawmap.php and we can move it to
chameleon-1.0.6/htdocs/common/wrapper/drawmap.php on mapsherpa.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


This archive was generated by Pipermail.