Bug report #21297

concatenator doesn't work when not in print layout mode, for instance in virtual field

Added by mathieu rajerison 4 months ago. Updated 4 months ago.

Status:Open
Priority:Normal
Assignee:-
Category:Expressions
Affected QGIS version:3.4.4 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29115

Description

Hi,

I've noticed that the concatenator argument didn't work when in virtual field

It's the case for :
  • concatenate
  • aggregate
  • relation_aggregate

So,

concatenate(tostring("fid"), concatenator:=',')

doesn't work
(see attached file)

But when I type

concatenate('a string', concatenator:=',')

it's ok

In composer/print layout mode, it works well

temp field.png (32.7 KB) mathieu rajerison, 2019-02-18 10:49 AM

History

#1 Updated by Giovanni Manghi 4 months ago

  • Category changed from Field calculator to Expressions
  • Subject changed from [expression] concatenator doesn't work when not in print layout mode, for instance in virtual field to concatenator doesn't work when not in print layout mode, for instance in virtual field

Also available in: Atom PDF