Bug report #10366
Rule based Filter Test always reports 0 feature
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | - | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 18785 |
Description
To reproduce the bug:
Open a line shapefile
Select rule based styling
Add an expression for the Filter
Click on Test:
Filter returns (0) features
Same behaviour in master and 2.2
Related issues
Associated revisions
Fix #10366 (geometry functions not working in rule test)
History
#1 Updated by Saber Razmjooei over 10 years ago
I used $area of the geometry as a part of my expression.
The Count for each rule also report 0.
It works fine with field expression.
#2 Updated by Martin Dobias over 10 years ago
- Status changed from Open to Closed
Fixed in changeset b49ce33543d2b934b4908a91dc9b2788073187a1.
#3 Updated by Saber Razmjooei over 10 years ago
the first part of the problem which was related to Test works fine. But the feature count still shows 0 features. It might be related to #5768