[QGIS-Developer] Creation error for Spatialite layer

Alessandro Pasotti apasotti at gmail.com
Mon Mar 9 05:19:10 PDT 2020


Hi,

already reported and fixed (and backported):

https://github.com/qgis/QGIS/issues/34932

See also: https://github.com/qgis/QGIS/issues/34932



On Mon, Mar 9, 2020 at 11:10 AM Bo Victor Thomsen <
bo.victor.thomsen at gmail.com> wrote:

> Hi list -
>
> I've stumbled into a severe - possible regression - error trying to crate
> a Spatialite layer with an  autoincrementing id field.
>
> Steps to recreate error:
>
>    1. Create a spatialite layer in QGIS
>    2. Check the "Create a autoincrementing primary key" checkbox  (Which
>    correctly create a autoincrementing pkid)
>    3. create a record by digitizing
>    4. Try to save the record
>
> The following error message appears:
>
> The SQL statement is obviously wrong, missing the name of pkid field
>
> I get the error in both QGIS 3.10.3 - 64 bit and 3.12.0 - 64 bit on
> Windows 8.1
>
> I remember doing this working correctly in QGIS ver. 2.x.
>
>
> Can anyone confirm this error before i report it ?
>
> --
> Med venlig hilsen / Kind regards
>
> Bo Victor Thomsen
>
> _______________________________________________
> 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



-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200309/67d9b7b7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ofnpgaljbfbhcdic.png
Type: image/png
Size: 11590 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200309/67d9b7b7/attachment-0001.png>


More information about the QGIS-Developer mailing list