Bug report #671

Mapserver Export fail if PostGis-Query is applied

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

Status:Closed
Priority:Low
Assignee:Gary Sherman
Category:-
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

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.

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

History

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

#2 Updated by Gary Sherman over 17 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 15 years ago

Milestone Version 0.8.2 deleted

Also available in: Atom PDF