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

[Backport release-3_40] Fix boolean filtering in QGIS expressions with WFS layers #60076

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

qgis-bot
Copy link
Collaborator

@qgis-bot qgis-bot commented Jan 7, 2025

Backport #60075
Authored by: @Djedouas

Djedouas and others added 2 commits January 7, 2025 19:23
PR #56369 introduced a regression for WFS layers, because stopping using
'false' and 'true' strings to compare with boolean fields in qgis
expressions, and forcing to use the keywords false and true, it
conflicted with the internal SQLite cache database of WFS layers.

This PR fixes it by storing internal boolean in SQLite cache database in
the right form compatible with QGIS internal functions (i.e. storing '0'
and '1' strings instead of 'true' and 'false' strings).
@github-actions github-actions bot added this to the 3.40.3 milestone Jan 7, 2025
Copy link

github-actions bot commented Jan 7, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 4eb2b47)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 4eb2b47)

@rouault rouault merged commit 33fc10e into release-3_40 Jan 8, 2025
35 checks passed
@rouault rouault deleted the backport-60075-to-release-3_40 branch January 8, 2025 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants