Good catch Franco. When you run into problems like this, best practice is to make sure that they get reported to the Fusion Trac to ensure that they are fixed in future releases. Instructions for doing this are available here:
http://trac.osgeo.org/fusion/wiki/FilingBugs I have reported this issue here: http://trac.osgeo.org/fusion/ticket/213 I also supplied a .patch file. When reporting problems, it is best to either provide step-by-step instructions and data for a developer (they should be able to reproduce the issue with no more than 10 minutes work), or provide a fix with the report. If you have an SVN checkout of the source code, creating a .patch is easy. If you're on Linux, there are instructions all over the place for creating patch files using "diff". If you're on Windows, TortoiseSVN makes creating patch files as simple as right-clicking on your modified file, going to the TortoiseSVN submenu, and choosing "Create patch...". Jason -----Original Message----- From: Franco Caloni Sent: February-11-09 9:07 AM To: 'MapGuide Users Mail List' Subject: R: [mapguide-users] Fusion javascript (phpviewersample) I'm looking at MapGuideViewerApi.js for use it's Digitize... functions and just discovered that there are errors in that file. These 2 errors make MapGuideViewerApi.js not usable (at least for me). If you have Visual Studio, open MapGuideViewerApi.js with it and see. The 2 errors are at line 252 and 320. Remove the "," char at the end of line, then .js works fine. HTH Franco _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
