Bug report #12484
QGIS Server: invalid list of of layers in "LayerDrawingOrder" when using embedded groups/layers
|Affected QGIS version:
|Pull Request or Patch supplied:
|Crashes QGIS or corrupts data:
|Copied to github as #:
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.