Project

General

Profile

Actions

Bug #20234

closed

Documentation about collection access in jinja2 template is incorect

Added by François ARMAND 7 months ago. Updated 6 months ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

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 7 months ago

  • Description updated (diff)
Actions #2

Updated by François ARMAND 7 months ago

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

Updated by François ARMAND 7 months 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 7 months ago

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

Updated by Vincent MEMBRÉ 6 months ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF