Bug report #17407

represent_value expression fails

Added by Andreas Neumann almost 3 years ago. Updated almost 3 years ago.

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

Description

If I use the expression

represent_value("fieldname")

on a field that has a relation reference widget assigned, the expression builder complains:

Eval Error:
represent_value: Field not found.

I am certain the the fieldname used exists, as it is also listed in the expression builder in the category "Fields and Values" --> see screenshot

issue_with_represent_vallue.png (110 KB) Andreas Neumann, 2017-11-06 03:15 PM

Associated revisions

Revision 5595f40f
Added by Matthias Kuhn almost 3 years ago

Fix single parameter version of represent_value

Fix #17407

History

#1 Updated by Anonymous almost 3 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF