Bug report #9738
updatable view QGIS 2.2.0
|Affected QGIS version:||2.2.0||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||18290|
I added the view qry_alles to my qgis-project. I chose edit mode and created a new object. I saved it into PostGIS database. Now I want to make changes on my object, but it's not possible to UPDATE or DELETE it, or change an attribute into the database. The view consists of two tables which should be updated by rules and functions.
For testing you can use QGIS 1.7.4 or lower, everything is working as it's supposed to. So you can see how it should work. But with the new QGIS-versions 2.0.1 and 2.2.0 it's not working anymore.
The attributes "objekt" and "merkmal1" are the same and "merkmal5" are used for joining the tables.
PostgreSQL 8.1.4 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.1.0 (SUSE Linux)
QGIS 2.2.0 on Windows7
I added three test-datasets and all sql-statements you need for the example.