Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#2300 closed defect (fixed)

wiki.page_name is unset in HDF when generating page previews

Reported by: mcivor@… Owned by: Christopher Lenz
Priority: normal Milestone: 0.9.1
Component: wiki system Version: 0.9b2
Severity: major Keywords: wiki macro
Cc: Branch:
Release Notes:
API Changes:

Description

When previewing page edits, macros which rely on wiki.page_name are either broken or default to StartPage, depending on the implementation. This occurs because WikiModule.process_request() invokes WikiModule._render_editor() before setting wiki.page_name and wiki.current_href.

The fix is simple: move these two assignments so they occur before the big if/elif loop that dispatches on the method and action in process_request().

Attachments (0)

Change History (3)

comment:1 by anonymous, 14 years ago

Milestone: 0.9.1

comment:2 by Christopher Lenz, 14 years ago

Owner: changed from Jonas Borgström to Christopher Lenz
Status: newassigned

comment:3 by Christopher Lenz, 14 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [2576] and [2577].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from Christopher Lenz 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.