Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#671 closed bug (fixed)

Mapserver Export fail if PostGis-Query is applied

Reported by: tux@… Owned by: gsherman
Priority: major: does not work as expected Milestone:
Component: MapServer export Version: 0.8
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: etch Awaiting user input: no

Description

If I try to export to a mapserver file with a layer using postgis datasource and a query applied, the export will silently fail (0 bytes). If I remove the query(s) from the postgis layers, the export will work again.

Jan.

Attachments (1)

patch_for_bug_671.txt (4.3 KB ) - added by leonardomateo 17 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by anonymous, 17 years ago

Milestone: Version 0.8.1

by leonardomateo, 17 years ago

Attachment: patch_for_bug_671.txt added

comment:2 by leonardomateo, 17 years ago

The attached patch fix the bug on export map files when a query is applied. It also fix some issues with quotes on schema, table names and omit the "password" string when password is blank on postgis layers. The quotes and password issues caused a bad syntax on map files.

comment:3 by gsherman, 17 years ago

Owner: changed from nobody to gsherman

comment:4 by gsherman, 17 years ago

Resolution: fixed
Status: newclosed

Applied in r7042 (0.8 release branch) and r7043 (HEAD)

comment:5 by (none), 15 years ago

Milestone: Version 0.8.2

Milestone Version 0.8.2 deleted

Note: See TracTickets for help on using tickets.