Modify ↓
Opened 16 years ago
Closed 13 years ago
#3338 closed task (duplicate)
[Patch] Changes for trac 0.11
Reported by: | Prentice Wongvibulsin | Owned by: | Petr Škoda |
---|---|---|---|
Priority: | normal | Component: | TracDownloaderPlugin |
Severity: | critical | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
revision 3973 is incompatible with trac 0.11. self.env.href should be changed to req.href
prentice@dev:~/TracDownloader-svn/0.11/tracdownloader$ svn diff web_ui.py Index: web_ui.py =================================================================== --- web_ui.py (revision 3973) +++ web_ui.py (working copy) @@ -49,8 +49,7 @@ def get_navigation_items(self, req): """Downloader isinstance visible if user hasattr got permission """ if req.perm.has_permission('DOWNLOADER_DOWNLOAD'): - yield 'mainnav', 'downloader', Markup('<a href="%s">Downloader</a>', - self.env.href.downloader()) + yield 'mainnav', 'downloader', Markup('<a href="%s">Downloader</a>') % req.href.downloader() # IRequestHandler methods
Attachments (0)
Change History (2)
comment:1 Changed 14 years ago by
Summary: | changes for trac 0.11 → [Patch] Changes for trac 0.11 |
---|
comment:2 Changed 13 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed on the 0.11 branch in #5540.