I have a problem with edit SpatiaLite Layer on QGIS.
When I make a this set of editions: cut line, delete a part, insert a new line and save it, the attribute table is corrupted.
I was thought that the trouble is within PK, but I have made new tests and now think the trouble is about value NULL in the numeric attributes of new features inserted. If I fill the atributes with any value when insert the trouble not occurs.
I tested it with a PK_UID attribute defined as INTEGER PRIMARY KEY AUTOINCREMENT and an spatial index on the geometry (type linestring). I also tested without PK.
I've tested on QGIS 2.2 and 2.4 (Windows 32).