Bug report #1104
Mapfile export PostGIS layers
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
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/qgis@9782 c8812cc2-4d05-0410-92ff-de0c093fc19c
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@9782 c8812cc2-4d05-0410-92ff-de0c093fc19c
History
#1 Updated by Paolo Cavallini about 16 years ago
Is this still valid after 5 months?
#2 Updated by str238 - about 16 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 16 years ago
- Resolution set to fixed
- Status changed from Open to Closed
fixed in 0360d757 (SVN r9783)
#4 Updated by Anonymous about 15 years ago
Milestone Version 1.0.0 deleted