Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Using Filter expression on value relation widget always give an empty list #2589

Closed
mathieubossaert opened this issue Nov 12, 2021 · 7 comments

Comments

@mathieubossaert
Copy link
Contributor

What is the bug?

I have a PostgreSQL table that stores available values for the attributes of my tables.
After upgrading from an EOL Lizmap version to the last one I face this problem 👍
All value relation widget provide an empty list.
No error in logs.
Alter a lot of tries, I had the idea to clear the "Filter expression" and I get all values from the table.
The workaround is to create a view for value each and to call this view in the value relation widget.

Steps to reproduce the issue

Create a filed with a value relation widget that uses a filter and try to edit a feature to see the list is empty.

Lizmap version

both 3.4 and 3.5

QGIS desktop version

3.16.13

QGIS server version

3Liz 3.16 docker image

Operating system

debioan 10

Browsers

Firefox

Browsers version

Firefoc 94 on ubuntu

Relevant log output

No response

@mathieubossaert
Copy link
Contributor Author

Maybe a duplicate of this issue... #2561

@rldhont
Copy link
Collaborator

rldhont commented Nov 25, 2021

@mathieubossaert do you have lizmap-plugin installed as a QGIS Server plugin ?

@3liz-bot
Copy link
Contributor

This issue is missing some feedbacks. 👻
Please have a look to the discussion, thanks. 🦎

@3liz-bot 3liz-bot added stale This ticket might be closed soon and removed stale This ticket might be closed soon labels Dec 28, 2021
@mathieubossaert
Copy link
Contributor Author

@mathieubossaert do you have lizmap-plugin installed as a QGIS Server plugin ?

Oups if forgot to answer your question. No I do not have any plugin installed

@Gustry
Copy link
Member

Gustry commented Jan 13, 2022

It's now highly recommended to have Lizmap as a QGIS server plugin as well. Otherwise, a few features are not working since LWC 3.4.

@mathieubossaert
Copy link
Contributor Author

ok Thanks @Gustry I will update my install and test it.

@Gustry
Copy link
Member

Gustry commented Jan 13, 2022

You should install a few plugins in QGIS Server to enable more features in Lizmap : https://docs.lizmap.com/current/fr/install/pre_requirements.html#qgis-server-plugins

To install them, https://www.3liz.com/news/qgis-plugin-manager.html the tool qgis-plugin-manager can help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants