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
252 stars 141 forks source link

[Bug]: bad behaviors when the lizmap plugin is not installed, and no message to inform the user #2446

Closed laurentj closed 1 year ago

laurentj commented 3 years ago

What is the bug?

When the lizmap plugin is not installed into the Qgis server, Lizmap have some bad behaviors (for example, in forms, some listbox may be empty). And there is not any message which inform about this missing plugin.

So a message should appear somewhere about the missing plugin (a popup message during the load of a project ? a message into the admin dashboard ?).

It will be better if lizmap disabled features that need the plugin, when it is not installed.

Steps to reproduce the issue

  1. do not install the lizmap plugin
  2. no information into lizmap about this missing plugin

Lizmap version

3.5

QGIS desktop version

.

QGIS server version

.

Operating system

.

Browsers

Firefox

Browsers version

.

Relevant log output

No response

Gustry commented 1 year ago

it has been done in https://github.com/3liz/lizmap-web-client/pull/3142 for LWC 3.6.0 The plugin is now required, with a minimum version hard-coded in the LWC source code. (which will be edited before each release)