Bug report #14575
attribute table errors when spatialite primary key is text
|Affected QGIS version:||2.14.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||22548|
The attribute table is filled with "ERROR" for any spatialite layer having primary key of type text.
The problem is only affecting the attribute table, not db manager.
The problem is also only affecting spatialite layers with primary key of type text, not when using integer for pk.
See attached sample database and screen dumps.
(qgis 2.14.0 and 2.14.1 also crashes frequently when working with spatialite layers, e.g. when selecting features, but I do not know if it is related to the text primary keys)