Project

General

Profile

Actions

Bug #20234

closed

Documentation about collection access in jinja2 template is incorect

Added by François ARMAND about 3 years ago. Updated about 3 years ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
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


Subtasks 1 (0 open1 closed)

Bug #20235: Add link to our rudder by example tuto for file editing in variable partReleasedAlexis MoussetActions
Actions #1

Updated by François ARMAND about 3 years ago

  • Description updated (diff)
Actions #2

Updated by François ARMAND about 3 years ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #3

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
Actions #4

Updated by François ARMAND about 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ about 3 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF