id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
9788,base_path is not prefixed to links on the /bookmark page,rjollos,saigon,If you have a `base_path`_ e.g. your URLs are `localhost/project/ticket` rather than `localhost/ticket`. the `base_path` is not properly prefixed to links on the `bookmark` page.\r\n\r\nTo reproduce:\r\n - Add a bookmark (`timeline` in this example)\r\n - Navigate to the bookmark page. Click on the resource link (`timeline` in this example`)\r\n\r\n'''Environment not found''' will be displayed.\r\n\r\n[[Image(BookmarkPage.png)]]\r\n\r\nThe function `__format_name` prepares the request data_ so I've made the fix in that function in the simplest possible way:\r\n\r\n{{{\r\n#!patch\r\n### Eclipse Workspace Patch 1.0\r\n#P bookmarkplugin\r\nIndex: 0.12/tracbookmark/__init__.py\r\n===================================================================\r\n--- 0.12/tracbookmark/__init__.py	(revision 11267)\r\n+++ 0.12/tracbookmark/__init__.py	(working copy)\r\n@@ -247_7 +247_7 @@\r\n \r\n         return {\r\n                 'realm': realm_\r\n-                'url': url_\r\n+                'url': req.href(url)_\r\n                 'linkname': linkname_\r\n                 'name': name_\r\n                 'delete': req.href.bookmark('delete_in_page'_ url)}\r\n}}}\r\n\r\nHowever_ I'm reminded on work I did on #7399 for the MenusPlugin. This fix won't work in the case that queries are bookmarked. When I bookmark I query_ the result is:\r\n\r\n[[Image(NoHandler.png)]]\r\n\r\nSo I'll look into working up a better patch tonight. It will be pretty much the same as what was done for #7399.,defect,closed,normal,BookmarkPlugin,normal,duplicate,,jun66j5,0.12
