Skip to content

[ 2374909 ] Invalid character not detected #412

@HolQue

Description

@HolQue

With the following expression the value of a sub key shall be changed. But by mistake the expression starts with a minus character:

-${params}[1]['B'][0]['C'] : 130,

This happens within the composite data structure:

"params" : [
              11,
              {"A" : 12,
               "B" : [
                        {
                           "C" : 13,
                           -${params}[1]['B'][0]['C'] : 130,

The result is a parameter with name

-${params}[1]['B'][0]['C']

and value 130.

But expected is error message: The double quotes are missing.

Cross check: Using

-${params}[1]['B'][0]['C'] : 130,

outside "params".

Result:

Error: 'Invalid expression found: '-${params}[1]['B'][0]['C']' - The double quotes are missing!!!'!

This is like expected.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions