Skip to content

Error message (5) #235

@HolQue

Description

@HolQue

W.r.t. indices and keys placed within curly brackets by mistake (instead of outside), I found three different types of error messages:

'Invalid syntax: Found index inside curly brackets in line '"val1"       : "${list_param[1]}"'. Indices in square brackets have to be placed outside the curly brackets.'
'Invalid syntax: Found index or sub-element inside curly brackets in the parameter '${testlist[${intval}]}''
'Invalid nested parameter format: '${list_param[${dict_param}['A']]}'.The '[<index>]' or '[<key>]' have to be outside of '${<variable name>}'.'

This should be aligned. The JsonPreprocessor should use one detection mechanism only for such kind of issues and therefore should provide only one kind of error message.

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions