Bug 83 - [MapLab3]Browse button in the object properties doesn't return correct path
: [MapLab3]Browse button in the object properties doesn't return correct path
Status: ASSIGNED
: MapLab
Preview
: 3.0
: PC Linux
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2003-10-23 17:06 by
Modified: 2003-10-23 18:52 (History)


Attachments


Note

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


Description From 2003-10-23 17:06:20
Browse button in the object properties doesn't return correct path

I first copied the "data" directory to "data2" directory with all the
corresponding files.

I then opened the "tutorial.map", select the map object into the object browser
view.  Into the object properties view, I selected the "ShapePath" parameter,
click on the browse button.  The shape path is updated to:

"../../../../../../../../../..//tutorial/data2",

which is not correct.  The errors is recorded into the PHP errors log file (see
below).  MapLab hang trying to load the data and display the following message:

"Loading image...please wait".

Redhat 7.2, Firebird 0.7, Chameleon cvs 10/16/2003, MapLab cvs 10/14/2003

--------------------
PHP errors log:

[23-Oct-2003 17:01:09] PHP Warning:  MapServer Error in msDrawMap(): Failed to
draw layer named 'land_fn'.
 in /usr2/home/nsavard/proj/chameleon-1.1_20031016/htdocs/common/wrapper/drawmap.php
on line 482
------- Comment #1 From 2003-10-23 18:52:18 -------
The abs2rel function in browser.php needs to be fixed.

The workaround is to manually edit the returned path in the text input field.