Bug report #21917
QGIS server ignores custom rendering order when loading parent group
|Affected QGIS version:||3.7(master)||Regression?:||Yes|
|Operating System:||Linux||Easy fix?:||No|
|Pull Request or Patch supplied:||Yes||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||29732|
When a project has custom layer rendering order (checkbox "control rendering order" enabled in the "layer order" panel), and the user loads the root layer as a single WMS layer in a WMS client (e.g. QGIS), the custom layer rendering order is not correctly taken into account.
Here is an example service, served with QGIS server 3.6.x (recent build) and attached are three screenshots: one with the connection parameters, the other two with the rendering as it should appear (original project files) and the other with the invalid rendering order when loading the service with the root layer. Note in the screenshot that point symbols (circles) should always be rendered on top, and also other layers are mixed up.
The data source is Postgis. A Postgis dump-file and the project file will be provided to the person working on fixing the issue.
Respect custom layer order for groups in GetMap
Backport of bugfix from master PR 9878