Opened 16 years ago

Closed 16 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: no UI/UX: no

Description

Hi,

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,

Steve

Attachments (1)

cycle_mult.patch (970 bytes ) - added by Stephen Kelly 16 years ago.
Failing tests for this issue.

Download all attachments as: .zip

Change History (2)

by Stephen Kelly, 16 years ago

Attachment: cycle_mult.patch added

Failing tests for this issue.

comment:1 by Karen Tracey, 16 years ago

Resolution: duplicate
Status: newclosed

#7501 already reports this.

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