Bug report #12484
QGIS Server: invalid list of of layers in "LayerDrawingOrder" when using embedded groups/layers
|Affected QGIS version:||2.8.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||20632|
When using embedded groups/layers in a QGIS project, QGIS server does not include all individual layers in the element "LayerDrawingOrder" of the "GetProjectSettings" command. Some layers are ommitted. We need a complete list of every physical layer (not just groups) for QGIS web client in order to formulate correct WMS queries.
The image attached shows the correct layer order on the left in QGIS desktop and the invalid list in the web-browser showing the results of the "GetProjectSettings" command.
In my project I embed several groups in parallel from the same linked project.
This is a big problem for us because we use the embedded layers/groups a lot.