Bug report #14536
Default actions: typo in Selected field's value
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Actions | ||
Affected QGIS version: | 2.14.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 #: | 22509 |
Description
QtGui.QMessageBox.information(None, "Current field's value", "[% $currentfield %]")
should be:
QtGui.QMessageBox.information(None, "Current field's value", "[% $currfield %]")
(i.e. $currfield instead of $currentfield).
Associated revisions
Fix feature's value action not working (fix #14536)
Replace broken/missing $currfield with new @current_field
expression variable. Update other default actions to use
expression variables instead of deprecated special columns.
History
#1 Updated by Anita Graser over 8 years ago
Just tested on master and neither $currentfield nor $currfield seem to work ...
#2 Updated by Anita Graser over 8 years ago
- Category set to Actions
#3 Updated by Kai Borgolte over 8 years ago
Anita Graser wrote:
Just tested on master and neither $currentfield nor $currfield seem to work ...
Try a right click on some cell in attribute table or on some value in identify results. The expression was renamed from previously "%%" - this is still in the user manual.
#4 Updated by Nyall Dawson over 8 years ago
- Status changed from Open to Closed
Fixed in changeset 3d494ac9f8324f734802704cef45f3cf79fe2658.