Bug report #10347
No layers in QGIS server GetCapabilities
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | Martin Dobias | ||
Category: | QGIS Server | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 18768 |
Associated revisions
[layertree] Fix #10347 - save also old <legend> tag
QGIS server does not use QgsProject for loading of QGIS project.
In order to allow reading of new projects, let's also write the original <legend> tag to the project.
Ideally the server should be ported to new layer tree implementation, but that requires
non-trivial changes to the server components.
The <legend> tag is ignored by QGIS application in >= 2.4 and this way also the new project files
can be opened in older versions of QGIS without loosing information about layer groups.
History
#1 Updated by Martin Dobias over 10 years ago
- Status changed from Open to Closed
Fixed in changeset 2df8f8c11ec3c3923a14c36114e06f3ef141458a.
#2 Updated by Marco Hugentobler over 10 years ago
I'm planning to port the server code to project/layertree in the mid-term (ideally shortly after 2.4 is out).
#3 Updated by Martin Dobias over 10 years ago
Sounds great!
#4 Updated by Martin Dobias over 10 years ago
- Affected QGIS version changed from 2.2.0 to master