Meanwhile I tested this with 2.8.7LTR, 2.8.9LTR, 2.14.3, 2.15.0 on Win7, Win10, Win2008 R2, installed via OSGeo4w Installer or standalone. In all of these cases I can only select Text, unbegrenzte Länge (text)
(unlimited Text). I explicitly do NOT have the option Text (string)
with the ability to set the output field length to some value.
Examples:
2.8.7
2.14.3
2.15.0
Then, in 2.15.0 I made the interesting observation, that the virtual field is created correctly if field_11
is not NULL
. So this means, that NULL
values are not automatically treated as empty strings, when using them in a string concatenation (This is a matter of semantics, if I have NULL
values in string concatenation I want them to be treated as empty strings as e.g. FME does.).
Obviously this means in versions <2.15.0 that the whole virtual field addition becomes erroneous, when errors occur in only some features.
So to get things work, it is necessary to test for NULL
values befor concatenation like this:
With the expected result: