Opened 6 years ago

Closed 6 years ago

#11290 closed (duplicate)

Test cycle re-render behaviour

Reported by: steveire Owned by: nobody
Component: Uncategorized Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:



In theory a compiled template should render to the same output each time it is rendered with the same Context.

When a template is rendered several times with a cycle tag, it does not render the same way each time. I think this might be an unsolvable issue because the CycleNode doesn't know when the template starts to be rendered the second time so that it can reset its cycle_iter variable.

If there are no better ideas on how to reset it, this should probably be documented.

All the best,


Attachments (1)

cycle_mult.patch (970 bytes) - added by steveire 6 years ago.
Failing tests for this issue.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by steveire

Failing tests for this issue.

comment:1 Changed 6 years ago by kmtracey

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

#7501 already reports this.

Note: See TracTickets for help on using tickets.
Back to Top