Bug report #21821

value relation widget not saved as default style within geopackage

Added by Robin Rotsaert over 5 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Forms
Affected QGIS version:3.6.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29636

Description

when using the value relation widget in the form of a layer within a geopackage and when saving these settings as default style within the geopackage, some of the settings (layer, key column, value column) are not loaded when reopening the layer directly from the geopackage. maybe there's no code for this within the geopackage-format but then it would be advisable to have this mentioned somewhere when trying to save styling for a layer where some fields have the value relation widget set up.

(work around is to have it saved in a qgis-project, but this means a projectfile should always be added when sharing with others)

Also available in: Atom PDF