Project

General

Profile

Actions

Bug #17351

closed

when we are not qutoing the default value in node property expansion, the error is not helpful

Added by Nicolas CHARLES over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Web - Config management
Target version:
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

Also available in: Atom PDF