Actions
Bug #21322
closedUsing '{' in node property lead to error
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
Try to add a String property with value : {value}
it will lead to an error and will not save the property
"An error occured while updating Node \'d48f6779-c6ae-447b-b3b0-9e6fab54707d\' <- SystemError: Error: value is not parsable as a property: {toto}; cause was: com.typesafe.config.ConfigException$Parse: String: 2: Key \'toto\' may not be followed by token: \'}\' (if you intended \'}\' to be part of a key or string value, try enclosing the key or value in double quotes) \\n -> com.normation.rudder.domain.nodes.GenericProperty$.$anonfun$parseSerialisedValue$1(Properties.scala:373)\\n -> com.normation.errors$PureResult$.effect(ZioCommons.scala:119)\\n -> com.normation.rudder.domain.nodes.GenericProperty$.parseSerialisedValue(Properties.scala:374)"}'
Actions