Skip to content

two tostring() values are summed, not combined in eval expression #846

@ronja-ui

Description

@ronja-ui

Describe the bug

Currently eval expressions sums two tostring() values instead of combining them together.

Expected behavior

The following should return 28, not 10:

...| eval n=tostring(2)+tostring(8)

However, this should return 10, not 28 (and currently works in that way):

...| eval x="2", y="8"
| eval sum=x+y

How to reproduce

See the examples above

Screenshots

Software version

pth_10 version: 12.1.1

Desktop (please complete the following information if relevant):

  • OS:
  • Browser:
  • Version:

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions