Bug 556

Summary: [MapLab-Preview]Use of query tool returns PHP warnings
Product: MapLab Reporter: Normand Savard <nsavard@mapgears.com>
Component: PreviewAssignee: maplab-dev <maplab-dev@lists.maptools.org>
Status: NEW    
Severity: normal    
Priority: P2    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description From 2004-07-19 14:48:25
Use of query tool in MapLab/MapEdit/Preview returns PHP warnings.

Steps to reproduce:

1.  Load MapLab application.
2.  Select MapEdit.
3.  Open the "tutorial.map".
4.  Open the map preview.
5.  Select the query tool.
6.  Click on the map preview.
7.  Warnings are displayed.

Fedora Core 2
Mozilla 1.6
MapLab 2.2 20040716


----------------------
PHP warnings:


[19-Jul-2004 14:43:59] PHP Notice:  Undefined variable:  oMapQuery in
/home/nsavard/proj/maplab-2.2/htdocs/mapedit/preview.php on line 430
[19-Jul-2004 14:43:59] PHP Notice:  Undefined offset:  1 in
/home/nsavard/proj/maplab-2.2/htdocs/mapedit/preview.php on line 549
[19-Jul-2004 14:44:02] PHP Notice:  Undefined variable:  gszTmpMapPath in
/home/nsavard/proj/maplab-2.2/htdocs/mapedit/query.phtml on line 92
[19-Jul-2004 14:44:02] PHP Notice:  Undefined offset:  1 in
/home/nsavard/proj/maplab-2.2/htdocs/mapedit/query.phtml on line 147