QField
QField copied to clipboard
Some default values are not calculated
I you digitize a line in line-layer "Haupt..." in attached sample-project in QGIS some default values are calculated based on a underlying polygon-layer "alle..." (see example).
(The spatial query is done only once and the value is stored in field "polygon_info". This data is used in other fields to calculate default values (to save time of spatial queries) for example by the code to_int(coalesce(array_get( string_to_array( "polygon_info" ,',') ,0),0))
If you open the offline-project in QGIS, the calculation of these values works well, but in QField the values are not calculated.