Actions
Bug #20234
closedDocumentation about collection access in jinja2 template is incorect
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
Docs https://docs.rudder.io/reference/6.2/usage/variables.html#_file_content_templates_and_edition (for jinja2 paragraph) says:
{% for key,value in vars.prefix.dict %}
While it should be:
{% for key,value in vars.prefix.dict.items() %}
See jinja2 doc: https://jinja.palletsprojects.com/en/2.11.x/templates/#for
Updated by François ARMAND about 3 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND about 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-doc/pull/864
Updated by François ARMAND about 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-doc|ae3d2c33889682ca3c99fb090a4cdfd662e79ff0.
Updated by Vincent MEMBRÉ about 3 years ago
- Status changed from Pending release to Released
Actions