I have a parent table with a virtual column that calculates the number of "kandidates" that belong to the same id, which is one of the columns: _count( "kandidat_id" , group_by:= "skid")
Then I have a join with another table in a one-to-one relationship, which allows editing of the child table values. It seems, that when the child table has values in some or all of the columns I can edit values in the parent table and can accept these e.g. in the Identify form with . But if I have no values in the child table, w.o.w. the record would be created as soon as I add a value in one of the fields (cascade on), QGIS crashes on . But this is not cast in stone and occurs randomly. If I remove the virtual column all works as expected. I use a drag-and-drop form to edit the data.
The layers are loaded over ArcGIS REST, but I have also tried with direct PostGIS layers...same result.
Report Details
Python Stack Trace
Windows fatal exception: access violation
Current thread 0x0000362c (most recent call first):
<no Python frame>
QGIS Info
QGIS Version: 3.28.10-Firenze
QGIS code revision: e2edb9c468
Compiled against Qt: 5.15.3
Running against Qt: 5.15.3
Compiled against GDAL: 3.7.1
Running against GDAL: 3.7.1
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19045
What is the bug or the crash?
User Feedback
I have a parent table with a virtual column that calculates the number of "kandidates" that belong to the same id, which is one of the columns: _count( "kandidat_id" , group_by:= "skid")
Then I have a join with another table in a one-to-one relationship, which allows editing of the child table values. It seems, that when the child table has values in some or all of the columns I can edit values in the parent table and can accept these e.g. in the Identify form with. But if I have no values in the child table, w.o.w. the record would be created as soon as I add a value in one of the fields (cascade on), QGIS crashes on . But this is not cast in stone and occurs randomly. If I remove the virtual column all works as expected. I use a drag-and-drop form to edit the data.
The layers are loaded over ArcGIS REST, but I have also tried with direct PostGIS layers...same result.
Report Details
Python Stack Trace
Stack Trace
QGIS Info QGIS Version: 3.28.10-Firenze QGIS code revision: e2edb9c468 Compiled against Qt: 5.15.3 Running against Qt: 5.15.3 Compiled against GDAL: 3.7.1 Running against GDAL: 3.7.1
System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.19045
Steps to reproduce the issue
Versions
Aktive Python-Erweiterungen AppendFeaturesToLayer | 1.5.0 nominatim | 1.4.5 quick_map_services | 0.19.33 SpreadsheetLayers | 2.1.0 db_manager | 0.1.20 processing | 2.12.99