You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've discovered that the commit 1dc1820 introduces a bug where if there is a " inside the survey question, it will break the YAML.
Shouldn't there be an error related to broken YAML in the filetree_read?
While debugging the issue, we had to review the controller_templates variable.
Issue Type
Bug Report
Ansible, Collection, Controller details
N/A
OS / ENVIRONMENT
N/A
Desired Behavior
Job template is properly exported.
Actual Behavior
Broken yaml:
survey_spec_contents:
description: ""name: ""spec:
- choices: ""default: ""max: 1024min: 0new_question: truequestion_description: "Comma separated list of lint rules to skip. Both specific checks and general rules can be skipped, i.e.: "name[missing],fqcn"."question_name: Rules to skiprequired: falsetype: textvariable: skip_rules
STEPS TO REPRODUCE
Create JT with survey that is having question with double quote inside.
Export the JT.
Valid Yaml.
The text was updated successfully, but these errors were encountered:
Summary
I've discovered that the commit 1dc1820 introduces a bug where if there is a
"
inside the survey question, it will break the YAML.Shouldn't there be an error related to broken YAML in the filetree_read?
While debugging the issue, we had to review the controller_templates variable.
Issue Type
Ansible, Collection, Controller details
N/A
OS / ENVIRONMENT
N/A
Desired Behavior
Job template is properly exported.
Actual Behavior
Broken yaml:
STEPS TO REPRODUCE
The text was updated successfully, but these errors were encountered: