Summary: | [MapLab-GMapFactory]Parse error when opening tutorial | ||
---|---|---|---|
Product: | MapLab | Reporter: | Normand Savard <nsavard@mapgears.com> |
Component: | map editor | Assignee: | maplab-dev <maplab-dev@lists.maptools.org> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
This was happening because the mapscript failed to load the mapfile so no extents were available. The failure occurred because of an assumption about the file browser root path made in converting the mapfile name from absolute to relative in the build_phtml code. I added code to handle conditions where the file browser root and the mapfile root weren't the same path. Should be ok, but only tested on the Mac so far.
Verified on Windows XP ms4w and maplab 2.2 20040721.