<div dir="auto">Also,<div dir="auto"><br></div><div dir="auto">Don't forget that high hierarchy/context @variables can be overwritten variables defined by the user or lower contexts.</div><div dir="auto"><br></div><div dir="auto">You can't do that with a function.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">A quarta, 8/07/2020, 15:01, matteo <<a href="mailto:matteo.ghetta@gmail.com">matteo.ghetta@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Andreas and Harrissou for the clarification.<br>
<br>
Actually what is confusing me is that the variable @current_feature is<br>
suggested in bold directly in the Expression Builder within the<br>
Attribute Forms.<br>
<br>
I know that variable depends on the scope (e.g. @symbol_color) but I<br>
thought that IF a variable is suggested then it should be available in<br>
that context.<br>
<br>
I prepared a super small project<br>
<br>
<a href="http://faunalia.eu/~matteo/bug.zip" rel="noreferrer noreferrer" target="_blank">faunalia.eu/~matteo/bug.zip</a><br>
<br>
if you try to add a feature to the point layer you will see that one<br>
filed is working and the other not.<br>
<br>
Cheers and thanks<br>
<br>
Matteo<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>