Skip to content

[Bug]: Changes in the attribute form are not active in Lizmap input masks. #6063

@guenterw

Description

@guenterw

What is the bug? (in English)

If you change values in the attribute form retrospectively, these changes will not be used for the input mask in Lizmap.
In the example of the alias, this is not critical, but if, for example, the value mapping is changed (or set up) retrospectively, this will confuse the values in the database.

Steps to reproduce the issue

Example: the alias of the field ‘wald’ is changed from ‘Wald Bezeichnung’ to ‘Wald’:
Image

This is correctly taken into account in the input masks in QGIS:
Image

In Lizmap, also in the pop-up:
Image

But the old alias value is still in the Lizmap input mask:
Image

The strange thing is that this string ‘Wald Bezeichnung’ (or parts of it) cannot be found in either the .qgs or the .cfg.
Then I deleted all caches. Browser cache, project cache (in the backend) and finally restarted the server. The name is still there.

As a workaround, I saved the layer as a layer definition file, deleted it in QGIS, closed the project, and then reinserted the qlr.
Disadvantage: for Lizmap, this is a new data set and the information in the plugin has to be re-entered.

Versions, safeguards, check summary etc

Versions :

  • Lizmap Web Client : 3.9.2 - commit fd848d5 fd848d56b
  • Lizmap plugin : 4.5.3
  • QGIS Desktop : 3.40.10
  • QGIS Server : 3.40.10
  • Py-QGIS-Server : 1.9.6
  • QGIS Server plugin atlasprint : 3.4.3
  • QGIS Server plugin lizmap_server : 2.13.2
  • QGIS Server plugin wfsOutputExtension : 1.8.3
List of Lizmap Web Client modules :
* altiProfil : 0.5.10 * altiProfilAdmin : 0.5.10
List of safeguards :
* Mode : normal
* Allow parent folder : yes
* Number of parent : 2 folder(s)
* Prevent other drive : no
* Prevent PG service : no
* Prevent PG Auth DB : no
* Force PG user&pass : no
* Prevent ECW : yes

Check Lizmap plugin

  • I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.

Operating system

Ubuntu 24.04 (Server)

Browsers

Chrome

Browsers version

Version 140.0.7339.128

Relevant log output

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions