Edgewall Software

Opened 16 years ago

Closed 16 years ago

#3309 closed defect (fixed)

PageOutline macro shows outline of latest when viewing old revisions

Reported by: anonymous Owned by: Christian Boos
Priority: high Milestone: 0.11
Component: wiki system Version: 0.9.5
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


When you have a PageOutline macro embedded in a wiki page which undergoes a number of revisions, if you look back at a previous revision, the PageOutline macro still generates the outline for the latest version of the file.

Attachments (0)

Change History (3)

comment:1 by coderanger@…, 16 years ago

This should probably also be fixed in the TOC macro on trac-hacks.

comment:2 by Christian Boos, 16 years ago

Component: generalwiki
Milestone: 0.11
Owner: changed from Jonas Borgström to Christian Boos
Priority: normalhigh

Related to #3089 and will be fixed the same way in milestone:0.11: the render_macro() will take the formattter as its first parameter in replacement of the req (req itself can still be obtained from formatter.req), and the text being wiki formatted will be obtain from formatter.text.

Not only will this solve this issue, but this will make possible to use the PageOutline macro on other objects than Wiki pages (like in ticket descriptions).

comment:3 by Christian Boos, 16 years ago

Resolution: fixed
Status: newclosed

This works as expected now (r4451).

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.