Part of lp.bugs.browser.bug View In Hierarchy
Known subclasses: lp.bugs.browser.bug.BugActivity
IBug
.
Since all bug pages are registered on IBugTask, the context will be
adapted to IBug in order to make the security declarations work
properly. This has the effect that the context in the pagetemplate
changes as well, so the bugtask (which is often used in the pages)
is available as current_bugtask
. This may not be all that pretty,
but it was the best solution we came up with when deciding to hang
all the pages off IBugTask instead of IBug.
Method | page_description | Undocumented |
Method | subscription | Return whether the current user is subscribed. |
Method | duplicates | Return a list of dicts of duplicates. |
Method | proxiedUrlForLibraryFile | Return the proxied download URL for a Librarian file. |
Inherited from BugViewMixin:
Method | is_duplicate_active | Undocumented |
Method | subscription_info | Undocumented |
Method | direct_subscribers | Return the list of direct subscribers. |
Method | duplicate_subscribers | Return the list of subscribers from duplicates. |
Method | getSubscriptionClassForUser | Return a set of CSS class names based on subscription status. |
Method | regular_attachments | The list of bug attachments that are not patches. |
Method | patches | The list of bug attachments that are patches. |
Method | current_bugtask | Return the current IBugTask . |
Method | specifications | Undocumented |
Method | _bug_attachments | Get a dict of attachment type -> attachments list. |