[QGIS-Developer] $currentfeature VS @current_feature

matteo matteo.ghetta at gmail.com
Wed Jul 8 07:01:31 PDT 2020


Thanks Andreas and Harrissou for the clarification.

Actually what is confusing me is that the variable @current_feature is
suggested in bold directly in the Expression Builder within the
Attribute Forms.

I know that variable depends on the scope (e.g. @symbol_color) but I
thought that IF a variable is suggested then it should be available in
that context.

I prepared a super small project

faunalia.eu/~matteo/bug.zip

if you try to add a feature to the point layer you will see that one
filed is working and the other not.

Cheers and thanks

Matteo


More information about the QGIS-Developer mailing list