Open hanhirova opened 8 months ago
According to our customer, the feature worked at least in 3.16.
It seems that the issue is caused by using a dummy feature created for the multi edit case. QgsAttributeDialog (or the sub widget) can't read the relations from a dummy feature.
What is the bug or the crash?
Editing the attributes of multiple vector features with relations doesn't work. Customer has a project with vector layer and a relation to a list with roadtypes. When selecting multiple features and trying to edit all of them the relation doesn't seem to work, all the road types are not listed in the attribute form. If you select ony one feature the editing works normally.
This was tested with multiple newer QGIS versions (3.28, 3.30, 3.32, 3.34) and this didn't work in any of them.
Steps to reproduce the issue
All the data is in Finnish but you get the jist without knowing the language.
Here is also a screencast about the problem.
I cannot share the actual dataset or the project.
Versions
QGIS version 3.32.2-Lima QGIS code revision c0b8833964 Qt version 5.15.3 Python version 3.9.5 GDAL/OGR version 3.7.1 PROJ version 9.2.1 EPSG Registry database version v10.088 (2023-05-13) GEOS version 3.12.0-CAPI-1.18.0 SQLite version 3.41.1 PDAL version 2.5.5 PostgreSQL client version 15.2 SpatiaLite version 5.1.0 QWT version 6.1.6 QScintilla2 version 2.13.1 OS version Windows 10 Version 2009
Active Python plugins clipper 1.2 GeoCoding 2.19 mmqgis 2021.9.10 NLSgpkgloader-master 0.2.2 Qgis2threejs 2.7.1 quick_map_services 0.19.34 XYZHubConnector 1.9.8 db_manager 0.1.20 MetaSearch 0.3.6 processing 2.12.99
Supported QGIS version
New profile
Additional context
No response