Modify ↓
Opened 19 years ago
Closed 19 years ago
#2300 closed defect (fixed)
wiki.page_name is unset in HDF when generating page previews
Reported by: | 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: | |||
Internal 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 , 19 years ago
Milestone: | → 0.9.1 |
---|
comment:2 by , 19 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in [2576] and [2577].