Bug report #11286

Updated by Giovanni Manghi over 6 years ago

The evaluation of complex Rule-Based symbols is not evaluating correctly



Add a vector layer to a map containing point data, and several fields. In the Layer Properties dialogue, under Style, change to Rule-Based. Add four rules of the form

fld_a ='AB' AND fld_b > 3 AND fld_c > 2009

fld_a ='CB' AND fld_b > 3 ADN fld_c > 2009

fld_c <= 2009 AND flb_B > 3

fld_b <= 3



Displaying the result or counting the features results in too many of symbol fld_b <= 3. No duplicates are counted.

However, if the data is added as three layers, and the query builder under the General tab is used to build expressions for fields fld_b and fld_c, the correct result is obtained

Back