Skip to content

[ 2374946 ] Error messages (26) #324

@HolQue

Description

@HolQue

Previously this code

{
   "index"     : 1,
   "indexList" : [0,1,2],
   "param2"    : "${indexList}[${indexList}[[${index}]]"
}

caused

'Invalid expression found: '${indexList}[${indexList}[[${index}]]'.'

That is completely fine. The expression contains an additional opened square bracket. No chance to detect the meaning of this.
Therefore the expression is simply "invalid".

With latest changes of the JsonPreprocessor the error message changed to:

'Invalid parameter format: $${indexList}[$${indexList}[[1]] - The double quotes are missing!!!'

This is misleading and wrong. The error message contains double '$$' and there are no double quotes missing.

Or in other words: Out of this invalid expression it cannot be concluded that double quotes are missing.

The previous error message should be restored.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions