Opened 7 years ago

Closed 7 years ago

#11290 closed (duplicate)

Test cycle re-render behaviour

Reported by: Stephen Kelly 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 Stephen Kelly 7 years ago.
Failing tests for this issue.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by Stephen Kelly

Attachment: cycle_mult.patch added

Failing tests for this issue.

comment:1 Changed 7 years ago by Karen Tracey

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: duplicate
Status: newclosed

#7501 already reports this.

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