Bug report #9342

composer regression - expressions in text items are not evaluated

Added by Regis Haubourg about 7 years ago. Updated almost 7 years ago.

Assignee:Nyall Dawson
Category:Map Composer/Printing
Affected QGIS version:2.0.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 #:17945


Expressions in text items (like writting current date) are no more evaluated in composer. Expression builder do evaluate correctly the expressions, but when inserted, only expression formula is displayed.

Associated revisions

Revision 2e4fbc21
Added by Nyall Dawson almost 7 years ago

[composer] Always evaluate label expressions (fix #9342)


#1 Updated by Nyall Dawson about 7 years ago

  • Assignee set to Nyall Dawson

This was a consequence of the new atlas preview mode. I realise now I've forgotten to take into account the fact that expressions can be used for non-atlas uses too, so they need to be evaluated even when atlas preview isn't switched on. I'll fix.

#2 Updated by Regis Haubourg about 7 years ago

Ok!, BTW all you did in composer is just great in production use!

#3 Updated by Regis Haubourg about 7 years ago

Oh, just forgot, shouldn't we add some unit test to avoid such important regressions?

#4 Updated by Nyall Dawson almost 7 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF