Opened 20 years ago
Closed 20 years ago
#524 closed defect (fixed)
No relative paths for WEB.IMAGEPATH in CGI browse mode
Reported by: | Owned by: | dmorissette | |
---|---|---|---|
Priority: | high | Milestone: | 4.2 release |
Component: | MapServer CGI | Version: | 4.0 |
Severity: | minor | Keywords: | |
Cc: |
Description
It is only partly possible to work with relative path for the WEB.IMAGEPATH in MapServer 4.0: Maps work, reference, legend and scalebar aren't rendered in BROWSE mode. The reason seems to be the call of msSaveImage() in maptemplate.c(msGenerateImages): For the map msObj->Map is handed over as a parameter of msSaveImage(), for the other three NULL is used. As a consequence in msSaveImage() the path is expanded using msBuildPath for the map but not for the others. Not sure if it has some side effects when the call of msSaveIMage is changed.
Change History (2)
comment:2 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
It's been hard to find a way to reproduce this one since only very specific combinations of relative paths would trigger it. Anyway, I was able to reproduce and fix, and confirm that the fix works (in 4.l CVS).
Note:
See TracTickets
for help on using tickets.