Multiedit does not play well with fields appearing multiple times on an editor form #50197
Closed
2 tasks done
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
What is the bug or the crash?
A. When a form repeats the same fields more than once (e.g. on two distinct tabs), when opening the form, the multiedit indicator indicates unsaved changes for all but the last instance of the field when the user made no changes at all.
B. Additionaly, the first widget works for setting the value for all rows, but choosing "reset to original values" set all values to NULL instead of ignoring the multiedit. The last widget seems to work as expected.
Steps to reproduce the issue
Versions
QGIS version
3.26.2-Buenos Aires
QGIS code revision
feec3d3
Qt version
5.15.3
Python version
3.9.5
GDAL/OGR version
3.5.1
PROJ version
9.0.1
EPSG Registry database version
v10.064 (2022-05-19)
GEOS version
3.10.3-CAPI-1.16.1
SQLite version
3.38.1
PDAL version
2.4.2
PostgreSQL client version
unknown
SpatiaLite version
5.0.1
QWT version
6.1.6
QScintilla2 version
2.13.1
OS version
Windows 10 Version 2009
Active Python plugins
autocurve
dev
plugin_reloader
0.8.1
qfieldsync
dev
QgisModelBaker
dev
QuickWKT
3.1
swiss_locator
1.3.6
trackable_project_files
v1.2.2
db_manager
0.1.20
processing
2.12.99
qgepplugin
1.0.0
Supported QGIS version
New profile
Additional context
Real world use case for multiple instances of the same field is because we have a "general" tab that includes the main fields, and then several "details" tabs that include many more fields organized by topics, that include again the fields in the main tab.
The text was updated successfully, but these errors were encountered: