Opened 13 years ago
Closed 13 years ago
#3733 closed defect (fixed)
Improve error reporting in msSaveImage()
Reported by: | dmorissette | Owned by: | dmorissette |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | MapServer C Library | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | |
Cc: | tbonfort |
Description
The current version of msSaveImage (6.0.0-beta1 / SVN trunk) fails silently if it is unable to open the output file (for instance if IMAGEPATH is not set or is not writable), and then MapServer ends up returning an empty template output without any error message. We should at a minimum call msSetError() in this case.
Actually, there is very little error reporting in this function so there may be other error situations that need to be better handled as well.
Change History (2)
comment:1 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed SVN trunk r11449. Improved error reporting and msDebug() output in msSaveImage().