Modify ↓
Opened 17 years ago
Closed 12 years ago
#2726 closed defect (worksforme)
PageOutline macro always renders the outline of WikiStart through getPageHTML()
Reported by: | anonymous | Owned by: | Alec Thomas |
---|---|---|---|
Priority: | lowest | Component: | XmlRpcPlugin |
Severity: | normal | Keywords: | |
Cc: | ghama, Thijs Triemstra | Trac Release: | 0.10 |
Description
This problem comes from missing page name information that is used in method render_macro
.
I apply below modification to my local enviornment:
def getPageHTML(self, req, pagename, version=None): """ Return page in rendered HTML, latest version. """ text = self.getPage(req, pagename, version) + req.args['page'] = pagename html = wiki_to_html(text, self.env, req, absurls=1) return '<html><body>%s</body></html>' % html
I know it's very dirty hack, but I have no idea to solve this problem in more elegant manner now.
Attachments (0)
Change History (5)
comment:1 Changed 17 years ago by
Cc: | ghama added; anonymous removed |
---|
comment:2 Changed 15 years ago by
Priority: | normal → low |
---|
comment:3 follow-up: 4 Changed 15 years ago by
Cc: | Thijs Triemstra added |
---|---|
Priority: | low → lowest |
This should probably be closed, focus is on 0.11/0.12 afaik.
comment:4 Changed 12 years ago by
Replying to thijs:
This should probably be closed, focus is on 0.11/0.12 afaik.
Yes - 'worksforme' with 'upgrade' as recommended solution...
comment:5 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Just tested with trac 0.11 and latest xmlrpc from trunk, and not an issue for these versions. I doubt the 0.10 version will get much attention moving forward, but I'll leave it open for now.