Bug report #17516

Variables are not correctly resolved in atlas layer filter expression

Added by David Pavlicek almost 7 years ago. Updated almost 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Composer/Printing
Affected QGIS version:2.18.14 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:25413

Description

When qgis variable (@something) is used in atlas layer filter expression, no matching atlas features are returned. When i replace variable with hard coded constant, everything goes well. I thing, the real problem is that variables are not resolved correctly in this context. Same behavior encountered at master (2.99) as well at 2.18.x branch. This issue is also described in detail here by another user: https://gis.stackexchange.com/q/244933/83655

History

#1 Updated by Giovanni Manghi almost 7 years ago

  • Affected QGIS version changed from master to 2.18.14

#2 Updated by Jürgen Fischer almost 6 years ago

  • Status changed from Open to Feedback

Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.

#3 Updated by Nyall Dawson almost 6 years ago

  • Resolution set to fixed/implemented
  • Status changed from Feedback to Closed

This works correctly in 3.4

Also available in: Atom PDF