[QGIS-Developer] refactor fields doesn't accept expressions
Andreas Neumann
a.neumann at carto.net
Thu Sep 21 00:34:44 PDT 2017
Hi Niccolo,
I ran into the exact same problem yesterday. I opened an issue:
https://issues.qgis.org/issues/17170
Are you sure that this worked in earlier QGIS versions? It would help to
know that.
Andreas
On 2017-09-21 00:58, Niccolò Marchi wrote:
> Hi all,
>
> I'm using 'refactor fields' in the modeler.
>
> Once I've loaded the fields from a shp and then added some new ones, I'm not able to add a formula (e.g. 'to_int(substr("MM_GG", 1,2))' ) to the latter ones because it's recognised as wrong in the Expression dialog. Furthermore, the Expression dialog doesn't recognise any field in the label 'Fields and values' and simply shows 'NULL'.
>
> BTW, if I write the formula directly in the box without using the expression dialog and then run the model, it works smoothly.
>
> Are those intended behaviours?
>
> i just updated from 2.18.11 to .13 .
>
> all the best,
>
> Niccolò
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170921/8bb9a5c6/attachment.html>
More information about the QGIS-Developer
mailing list