Bug report #671

Mapserver Export fail if PostGis-Query is applied

Added by tux-jd67-de - almost 17 years ago. Updated over 14 years ago.

Assignee:Gary Sherman
Affected QGIS version: Regression?:No
Operating System:Debian Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:10730


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.


patch_for_bug_671.txt Magnifier (4.28 KB) leonardomateo -, 2007-06-23 08:44 AM


#1 Updated by leonardomateo - over 16 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.

#2 Updated by Gary Sherman over 16 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Applied in (0.8 release branch) and (HEAD)

#3 Updated by Anonymous over 14 years ago

Milestone Version 0.8.2 deleted

Also available in: Atom PDF