MapTools.org

[Chameleon-dev] [Bug 87] [Chameleon] Delayed Error logging

bugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.org
Fri, 31 Oct 2003 16:08:18 -0500
http://www.maptools.org/bugzilla/show_bug.cgi?id=87





------- Additional Comments From spencer@dmsolutions.ca  2003-10-31 16:08 -------
the problem is that chameleon loads but delays drawing the map image so that the
application will appear more responsive.  The error only happens after the page
has loaded (i.e. when requesting the map image).  So it is impossible (well,
very difficult) to determine that an error has occurred and display it
immediately.  In reality, the code to draw the map registers the error in the
session but it is not until something causes the page to reload that you will
see the error in the error widget.  This is not something that I can (easily)
change.

Possible solutions:

1. use the javascript API.  It has a mechanism for talking to the server after
the image is loaded and checking to see if errors occurred.

2. modify map widgets to provide onerror handlers so if the map image fails to
load, the errors can be displayed immediately.  This won't necessarily work all
the time.



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


This archive was generated by Pipermail.