Skip to content

Layer not valid with QGIS 3.40 #108

@rsrg-zwiama

Description

@rsrg-zwiama

I updated my docker compose project to the newest qwc-lts versions and QGIS 3.40. Now I have troubles building the configs with the config generator. With QGIS 3.34 everything works fine. With QGIS 3.40 and also 3.44 I get a layer is not valid error for WMS layers, that are used in more then one project. For the project that's processed as first one, all layer work and GetProjectsettings request runs without troubles. When calling the GetProjectsetting request for a second or third project, that references the same WMS layer, the request fails with a layer not valid error. When I open the project there is no error. I can reproduce this behavior also with the ows api like following. I have 3 requests to 3 projects with an identical WMS layer:
http://localhost:8088/ows/project1?VERSION=1.1.1&REQUEST=GetCapabilities&SERVICE=WMS
http://localhost:8088/ows/project2?VERSION=1.1.1&REQUEST=GetCapabilities&SERVICE=WMS
http://localhost:8088/ows/project3?VERSION=1.1.1&REQUEST=GetCapabilities&SERVICE=WMS

The success of the request is always 200 for the first one and false for all after. After a new start of the whole docker, I can switch the order and will get success for the first, false for all following. Other projects with or without WMS Layers worke fine, as long as I don' use the same layer more then once. I use the same WMS in several projects, as long as I use them as embedded layers form one 'master' project.

Any ideas or suggestions on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions