3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
248 stars 141 forks source link

[Bug]: default_background_color as default base layer not working on qgis server 3.34 #4543

Open josemvm opened 1 week ago

josemvm commented 1 week ago

What is the bug? (in English)

it's not possible to set background color as default base layer the default base layer is the first base layer after the background color base layer (GoogleSatellite in this case) imagem

Steps to reproduce the issue

try to set the background color as default base layer

Versions, safeguards, check summary etc

Versions :

List of safeguards :
* Mode : normal * Allow parent folder : no * Prevent other drive : no * Prevent PG service : no * Prevent PG Auth DB : no * Force PG user&pass : no * Prevent ECW : no

Check Lizmap plugin

Operating system

Ubuntu 22.04

Browsers

Firefox

Browsers version

127.0.1

Relevant log output

No response

Gustry commented 5 days ago

It will be fixed when #4367 will be merged, that's why this PR is blocked. Did you regenerate your CFG file recently (last week with latest version of the plugin ?) you should have a key in the CFG default_background_color_index, right ?

josemvm commented 5 days ago

Did you regenerate your CFG file recently (last week with latest version of the plugin ?) you should have a key in the CFG default_background_color_index, right ?

@Gustry yes of course

Gustry commented 4 days ago

You mean you have the key default_background_color_index, what is its value ?

josemvm commented 4 days ago

in this case: "default_background_color_index": 0