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)
Change History (2)
by , 16 years ago
Attachment: | cycle_mult.patch added |
---|
comment:1 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
#7501 already reports this.
Failing tests for this issue.