Bug report #16002
Default Values "Expression dialog" evaluates valid expression as invalid
|Affected QGIS version:||2.18.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||23918|
I'm using QGIS 2.18.2-nightly on windows. I am using the refFunctions plugin to set the default value from an intersecting feature in another layer. If I enter the function in the "edit widget properties" dialog everything works as expected and I get a valid preview. However, If I open the expression widget to build an expression it evaluates the expression as invalid.
Eval Error: "'NoneType' object has no attribute 'intersects'"
The field calculator does not evaluate the same expression as invalid.