Modify ↓
Opened 6 years ago
Closed 6 years ago
#13724 closed defect (fixed)
Context Error for Trac 1.4
| Reported by: | Owned by: | Christopher Head | |
|---|---|---|---|
| Priority: | normal | Component: | ParameterizedIncludeMacro |
| Severity: | normal | Keywords: | context |
| Cc: | Trac Release: | 1.4 |
Description
-
.py
old new import trac.wiki.model 43 from trac.web.chrome import web_context as get_context44 … … class ParameterizedIncludeMacro(trac.wiki.macros.W 75 return trac.mimeview.api.Mimeview(self.env).render( get_context(formatter.req, "wiki", page_name), "text/x-trac-wiki", text)73 return trac.mimeview.api.Mimeview(self.env).render(trac.mimeview.api.Context.from_request(formatter.req, "wiki", page_name), "text/x-trac-wiki", text)
Attachments (0)
Change History (3)
comment:1 Changed 6 years ago by
comment:2 Changed 6 years ago by
| Keywords: | context added; contex removed |
|---|
Note: See
TracTickets for help on using
tickets.



sorry. files in the patch need to be swapped.