Feature request #16929
Warning before discarding information longer than shapefile field length
Status: | Open | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Attribute table | ||
Pull Request or Patch supplied: | No | Resolution: | |
Easy fix?: | No | Copied to github as #: | 24828 |
Description
Steps to reproduce:
0: needs a shapefile with a value relation field (e.g. a linked species list) using multiple choices option
- set a shapefile layer in editing mode,
- open attribute table,
- select a feature,
- open form view,
- go to a value relation field of the attribute form,
- select many entries, summing up to a total length longer than the field length
- end editing mode and save changes
Now, check the entry in the attibute table field. The entries will have been cut off on reaching the maximum field length of the attribute.
Suggested behaviour: Prompt a warning on selection of any surplus attribute in the value relations field, or, if not possible, before saving the shapefile (with option to continue in editng mode w/o saving).
(See also Ticket #16928)