Hi Martin, I can confirm your findings! Looks like a bug to me.
Are you able to create an issue for it on issues.qgis.org? Else I will do it. I'm going to compile Qgis 2.14 too, to see if it was already there... Note that in QGIS3 it just works! Regards, Richard Duivenvoorde On 07/13/2018 02:25 PM, Martin Bittens wrote: > Hello QGIS Users. > > > I want to create a text field in an attribute table which contains some > data points by using the field calculator. So I selected: > > > - Create a new field > > - Output field name: Comment > > - Output field type: Text (string) > > - Output field length: 10 > > - Text input: 'Area 2' > > > The Output preview shows: 'Area 2'. By clicking on "OK" I receive the > following message: "Could not add the new field to the provider" > > My system is: Windows 10, QGIS2.18.21. > > In the previous versions of QGIS I did not get that error when I added > with the field calculator text fields in attribute tables. > > Does somebody know a solution solving the error? > > > Thank you very much. > > > Martin > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > _______________________________________________ > Qgis-user mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
