You need to log in before you can comment on or make changes to this bug.
Add a legend to the map in MapEdit and open the map preview generates PHP errors. Steps to reproduce: 1. Load MapLab. 2. Select MapEdit. 3. Select Legend in the tree list. 4. Change width and size of the legend in the "Objects Properties" window. 5. Apply changes. 6. Open the map preview (disable ROSA). 7. Errors appear. Fedora Core 2 Mozilla 1.6 MapLab 2.2 20040716 --------------- PHP error: [19-Jul-2004 14:56:47] PHP Warning: [MapServer Error]: loadLegend(): Parsing error near (SIZE):(line 84) in /home/nsavard/proj/maplab-2.2/htdocs/common/wrapper/map_session.php on line 215 [19-Jul-2004 14:56:47] PHP Warning: Failed to open map file /tmp/ms_tmp//40fc121cc509b.map in /home/nsavard/proj/maplab-2.2/htdocs/common/wrapper/map_session.php on line 215 [19-Jul-2004 14:56:47] PHP Warning: [MapServer Error]: loadLegend(): Parsing error near (SIZE):(line 84) in /home/nsavard/proj/maplab-2.2/htdocs/common/wrapper/map_session.php on line 215 [19-Jul-2004 14:56:47] PHP Warning: [MapServer Error]: loadLegend(): Parsing error near (SIZE):(line 84) in /home/nsavard/proj/maplab-2.2/htdocs/common/wrapper/map_session.php on line 215 [19-Jul-2004 14:56:47] PHP Warning: Failed to open map file /tmp/ms_tmp//40fc121cc509b.map in /home/nsavard/proj/maplab-2.2/htdocs/common/wrapper/map_session.php on line 215 [19-Jul-2004 14:56:47] PHP Fatal error: Call to a member function on a non-object in /home/nsavard/proj/maplab-2.2/htdocs/mapedit/preview.php on line 308
Created an attachment (id=44) [details] tutorial_bug557.zip-Map with Legend error
removed size attribute for legend. I'm not sure where this came from. Was it ever supported by mapserver? Anyway, it's not supported now. Odd that nobody found this problem earlier.
Reproduced on Windows XP home ms4w 0.9 maplab 2.2
the fix is not incorporated into any of the packaged versions yet. The workaround is to avoid using the inapplicable parameters.
I understood clearly that the fix is not incorporated (comment #4). I just want to let know the status of this bug on Windows.
Verified on Windows XP ms4w and IE 20040720.