Bug 839

Summary: [Chameleon-Widget]If "cwcjsapi" widget maturity level lower than the application doesn't pop up the ErrorReport
Product: Chameleon Reporter: Normand Savard <nsavard@mapgears.com>
Component: WidgetAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P2    
Version: 1.99   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description From 2004-11-11 13:09:47
When the "cwcjsapi" widget has a maturity level lower than the application in
the "sample_basic_jsapi.phtml" application the ErrorReport widget does not pops
up a window.  The user has to select the "Tools" tab and click on the
"errorreport" button.  For the same type of error with other widgets (like
ZoomIn) there is a pop up window.  I checked how the ErrorReport widget is set
in different templates and there is no difference.

Fedora Core 2
Mozilla 1.6
Chameleon CVS Nov 11 09:34
------- Comment #1 From 2004-11-11 14:00:25 -------
this is 'the way it works'.  The ErrorReport only pops up errors when the page
loads.  In jsapi mode, the page never (or at least rarely) submits.  

The cwcjsapi widget (or the javascript API) has a way of accessing errors but it
is supposed to be the developer that checks the error stack and does something
with them.

If anything, this would be a feature request to add support for jsapi mode to
the error report widget ...
------- Comment #2 From 2004-11-11 14:02:38 -------
Makes sense.