You need to log in before you can comment on or make changes to this bug.
MapWshowLayer function not defined when using JAPI I using the JavaScript API testing framework developed by Assefa and Bill. I migrated the CWC2 version to Chameleon 1.1 The testing framework is into the cvs under "chameleon/test_suite/js_testing/predefined_tests". I'm using the chameleon demo in which I modified the "index.phtml" file to be able to take a map file and a template as argument. There is a copy of this "index.phtml" file into the cvs under chameleon/test_suite/unit_tests/php_tests/templates. I added two lines into the "sample.html" to load the JavaScript API. I got the JSAPI testing framework accessible through the web by creating a symbolic link. Steps to reproduce: 1. Access the "main.phtml" file into the browser. 2. Set the application path to /path/to/chameleon_sample/htdocs/index.phtml 3. Set the template path to /path/to/chameleon_sample/htdocs/sample.html 4. Set the map file path to /path/to/chameleon_sample/map/chameleon.map 5. Select the "layerSetStatus" predefined test 6. Click on "execute" 7. The error appears into the JavaScript console. I'm working on Redhat 7.2, chameleon-1.1_20031110 from the cvs, MapServer 4.0 Here is the JavaScript consol error message: Error: MapWshowLayer is not defined Source File: http://192.168.4.7/msapps/nsavard/programs/chameleon-1.1_20031110/htdocs/widgets/js/cwcjsapi.js Line: 3105
reassigning to Assefa for analysis. Should be fixed for 1.99
updated version to 1.99
Changed Target Milestone to 1.99 RC
jsapi not formally part of this release.