Bug report #1104

Mapfile export PostGIS layers

Added by str238 - over 12 years ago. Updated over 11 years ago.

Status:Closed
Priority:Low
Assignee:Gary Sherman
Category:-
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:11164

Description

The PostGIS layer parameter CONNECTION is wrongly written into the mapfile. There are used only the single quotes and it causes a crash when loading mapfile by mapserver.

Example:

CONNECTION 'host=localhost user='postgres' password=postgres dbname='voda_v_krajine_

Associated revisions

Revision b523c120
Added by Jürgen Fischer almost 12 years ago

mapserver export fix:
- use double quotation marks for postgres layers (fixes #1104)
- export original instead of localized unit names

git-svn-id: http://svn.osgeo.org/qgis/trunk/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision 0360d757
Added by Jürgen Fischer almost 12 years ago

mapserver export fix:
- use double quotation marks for postgres layers (fixes #1104)
- export original instead of localized unit names

git-svn-id: http://svn.osgeo.org/qgis/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Paolo Cavallini about 12 years ago

Is this still valid after 5 months?

#2 Updated by str238 - about 12 years ago

Replying to [comment:2 pcav]:

Is this still valid after 5 months?

I tried the 0.10.0 version and there are no quotes used for the db_name anymore. It should be ok by now (Not tested with the latest version of mapserver).

#3 Updated by Jürgen Fischer almost 12 years ago

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

fixed in 0360d757 (SVN r9783)

#4 Updated by Anonymous over 11 years ago

Milestone Version 1.0.0 deleted

Also available in: Atom PDF