Bug 487 - [Chameleon]Loading a sample application generates JS error
: [Chameleon]Loading a sample application generates JS error
Status: CLOSED WONTFIX
: Chameleon
Widget
: 1.99
: PC Linux
: P2 normal
: 1.99 beta 3
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-06-30 16:23 by
Modified: 2004-10-27 13:38 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-06-30 16:23:00
Loading some sample applications (example: sample_basic_plainbuttons.phtml")
generates some JS error.

Fedora Core 1
Mozilla 1.6
Chameleon CVS 20040630

-----------------------------
1-

Error: CWCDHTML_GetImage is not defined
Source File: http://192.168.4.100/nsavard/chameleon_cvs/sample.js
Line: 75

2-

Error: MapWidgetInitVariables is not defined
Source File:
http://192.168.4.100/nsavard/chameleon_cvs/sample_basic_plainbuttons.phtml
Line: 737

3-

Error: MapLayerDivImgOnLoad is not defined
Source File:
http://192.168.4.100/nsavard/chameleon_cvs/sample_basic_plainbuttons.phtml
Line: 401
------- Comment #1 From 2004-07-08 13:14:57 -------
Changed target to 1.99 beta 2.
------- Comment #2 From 2004-07-08 14:18:58 -------
this is related to bug 496 I think, at least it has similar symptoms.  If this
is not affecting functionality then I suggest we look at this for beta3
------- Comment #3 From 2004-10-07 09:15:37 -------
cannot reproduce.  The symptoms could be produced by the fact that browsers load
included script files asynchronously and therefore the sample.js could be loaded
before the cwc_dhtml.js file is finished loading.

There is not a lot that we can do without a redesign of the javscript
architecture, which won't happen in this version.  I will file a bug for FUTURE
target to address the javascript architectural issues.  For now, this bug will
be marked as wontfix.
------- Comment #4 From 2004-10-25 16:57:31 -------
verified that new bug was created (bug 697) as a result of this bugs
investigation.

set to verified.
------- Comment #5 From 2004-10-25 16:59:15 -------
oops I meant bug 691 not 697
------- Comment #6 From 2004-10-27 13:38:12 -------
Verified on Fedora Core 2.  Cannot reproduce.