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

Provider specific filter ignored #37073

Closed
kadarivan opened this issue Jun 9, 2020 · 0 comments · Fixed by #37083
Closed

Provider specific filter ignored #37073

kadarivan opened this issue Jun 9, 2020 · 0 comments · Fixed by #37083
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@kadarivan
Copy link

Describe the bug
Rule-based filter ignore provider specific filter on .shp if:

  • numbers stored in text field, but one (or more) of the style rules specified as number
  • ELSE definition is missing

kép

How to Reproduce

filter-test.zip

  1. create a shape file with text filed, and write numbers to it.

  2. define provider specific filter

  3. create categorized style with automatic classify -> it use numbers instead of string, but working

  4. change the style to rule-based (or define rule-based style manually), and delete the ELSE rule

  5. every feature displayed (provider specific filter ignored)

QGIS and OS versions

QGIS version | 3.10.6
OS Version | Windows 10 (10.0)

@kadarivan kadarivan added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jun 9, 2020
@nyalldawson nyalldawson self-assigned this Jun 10, 2020
nyalldawson added a commit to nyalldawson/QGIS that referenced this issue Jun 10, 2020
nyalldawson added a commit that referenced this issue Jun 10, 2020
nyalldawson added a commit to nyalldawson/QGIS that referenced this issue Jun 17, 2020
a compiled feature request expression

Fixes qgis#37073

(cherry picked from commit aa2d248)
nyalldawson added a commit that referenced this issue Jun 19, 2020
a compiled feature request expression

Fixes #37073

(cherry picked from commit aa2d248)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
2 participants