Open arno974 opened 1 year ago
Just an update to specify that this problem still remain in the 3.7 Lizmap version.
Also if I open my browser console, I have a message :
The WMS layer name
My_layeris unknown! [LayerTree.js:413:20])
While the name of the layer in Qgis is My layer (without the underscore).
What is the bug?
Hi,
I notice, that embed layers from a master project are not displayed in an other project if the layer has space or accent in his name.
For example in my project QGIS I have two embed layers :
But in Lizmap only the one with no accent and/or space is displayed :
In the console log I have a message that says :
The WMS layer name Quartiers_de_Saint-Louis is unknown! [LayerTree.js:416:20](webpack://assets/src/modules/config/LayerTree.js)
It used to be fine before and it was working perfectly. I can't tell you when, but in my recent project I can't use embed layers anymore as they tends to have many problems.
Embed layers are very useful when layers are used in different projects. We could rename the data layers in the Lizmap extension. This way, users would have understandable names in the Lizmap Web interface. However, it is not possible to do the same when the user prints a map. The layer names as displayed in QGIS would then appear in the legend.
Have you already noticed these kind of issues ?
Steps to reproduce the issue
Versions
Versions :
List of Lizmap Web Client modules :
* Version Lizmap Web Client 3.8 needed
List of safeguards :
* Mode : normal * Allow parent folder : no * Prevent other drive : yes * Prevent PG service : yes * Prevent PG Auth DB : yes * Force PG user&pass : yes * Prevent ECW : yes
Check Lizmap plugin
QGIS server version, only if the section above doesn't mention the QGIS Server version
No response
Operating system
Ubuntu 22.04.3 LTS
Browsers
Firefox
Browsers version
Firefox
Relevant log output
No response