Project

General

Profile

Actions

Bug #9987

closed

User story #9698: Import node properties from external data sources

Cannot use " in the result of a Datasource

Added by Nicolas CHARLES almost 8 years ago. Updated almost 8 years ago.

Status:
Rejected
Priority:
N/A
Category:
Web - Compliance & node report
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

I defined a datasource to return a quoted ip adress

Name    Value
test_key    "86.246.132.30" 

when I try to use this property in "Enforce a file content", for content of the file, I get the following error:

⇨ Cannot build target configuration node
⇨ Error with parameters expansion for node 'server.rudder.local' (root): When processing directive 'Enforce a file content': On variable 'GENERIC_FILE_CONTENT_PAYLOAD': Error when parsing value "${node.properties["test_key"]}", error message is: string matching regex `[\-_a-zA-Z0-9]+' expected but `"' found 

Quote are valid in this field (i can put " in it, and it works as expected)
So there is something in the interpolation preventing me from using " in properties

Actions

Also available in: Atom PDF