Imported templates are not fully validated

Bug #1516177 reported by Vahid Hashemian
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TOSCA Parser
In Progress

Bug Description

When a template imports other templates all the imported templates have to be validated for potential errors the same way the main template is. Currently this validation is not fully implemented.

For example, if the template version of an imported file is changed to something invalid Tosca Parser would not detect it.

- "python --template-file=toscaparser/tests/data/tosca_elk.yaml" runs without any error, as expected.

- Modifying the template version of custom_types/collectd.yaml to something invalid, and then running "python --template-file=toscaparser/tests/data/tosca_elk.yaml" again runs without any error, which is unexpected. Ideally, it should return an error about the invalid version of the imported collectd template.

description: updated
summary: - Imported templates are not validated
+ Imported templates are not fully validated
Sahdev Zala (spzala)
Changed in tosca-parser:
importance: Undecided → High
madhavi (madhavilatha-t)
Changed in tosca-parser:
assignee: nobody → madhavi (madhavilatha-t)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tosca-parser (master)

Fix proposed to branch: master

Changed in tosca-parser:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.