Actions
Bug #17351
closedwhen we are not qutoing the default value in node property expansion, the error is not helpful
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
if i want to expand a value from node property and have a fallback default like in the follogin
${node.properties[AWS-AWS-Dynamic][instance-identity][document][accountid]|default="'value'"}
, if I don't quote the value, I get non helpful error message
⇨ Accumulated: Unexpected: Error with parameters expansion for node 'xxxxn.com' (root); cause was: Accumulated: When processing directive 'test variale parameter'; cause was: Accumulated: On variable 'GENERIC_FILE_CONTENT_PAYLOAD':; cause was: Accumulated: Unexpected: Error when parsing value "${node.properties[AWS-AWS-Dynamic][instance-identity][document][accountid]|default='value'}", error message is: end of input expected ; Unexpected: Can not configure 'root' children node because 'root' is a policy server whose configuration is in error
it should clearly state that the default value should be quoted
Actions