Bug report #15455

Field constraint errors in forms: display column alias in error message instead of raw column name

Added by Andreas Neumann over 8 years ago. Updated over 8 years ago.

Status:Closed
Priority:Normal
Assignee:Matthias Kuhn
Category:Forms
Affected QGIS version:2.16.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23381

Description

For error messages regarding constraints it would be useful to also display the Alias column name (if defined) instead of the raw database column name.

Otherwise the user may be confused if the two names do not match.

See screenshot attached.

qgis_constraint_error_use_alias.png - form screenshot that shows that error message uses raw value instead of alias (11.4 KB) Andreas Neumann, 2016-08-18 01:42 AM

Associated revisions

Revision 8fdfbd0f
Added by Matthias Kuhn over 8 years ago

Widget constraints: use field alias where available

Fix #15455

Revision 78e8393f
Added by Matthias Kuhn over 8 years ago

Widget constraints: use field alias where available

Fix #15455

History

#1 Updated by Anonymous over 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF