Part of lp.bugs.interfaces.bug View In Hierarchy
Known subclasses: lp.bugs.interfaces.webservice.IBug
|Attribute||affected_pillars||The "pillars", products or distributions, affected by this bug.|
|Bool||permits_expiration||Expiration is permitted when the bug is not valid anywhere, a message was sent to the bug reporter, and the bug is associated with pillars that have enabled bug expiration.|
|Bool||is_complete||True or False depending on whether this bug is considered completely addressed. A bug in Launchpad is completely addressed when there are no tasks that are still open for the bug.|
|Attribute||official_tags||The official bug tags relevant to this bug.|
|Attribute||has_patches||Does this bug have any patches?|
|Attribute||latest_patch||The most recent patch of this bug.|
|Attribute||initial_message||The message that was specified when creating the bug|
|Attribute||questions||List of questions related to this bug.|
|Attribute||specifications||List of related specifications.|
|Attribute||followup_subject||The likely subject of the next message.|
|Attribute||bug_messages||The bug messages related to this object.|
|Attribute||comment_count||The number of comments on this bug, not including the initial comment.|
|Method||getSpecifications||List of related specifications that the user can view.|
|Method||isSubscribed||Is person subscribed to this bug?|
|Method||isSubscribedToDupes||Is person directly subscribed to dupes of this bug?|
|Method||isMuted||Does person have a muted subscription on this bug?|
|Method||getDirectSubscriptions||A sequence of IBugSubscriptions directly linked to this bug.|
|Method||getDirectSubscribers||A list of IPersons that are directly subscribed to this bug.|
|Method||getDirectSubscribersWithDetails||Get direct subscribers and their subscriptions for the bug.|
|Method||getIndirectSubscribers||Return IPersons that are indirectly subscribed to this bug.|
|Method||getAlsoNotifiedSubscribers||Return IPersons in the "Also notified" subscriber list.|
|Method||getSubscriptionsFromDuplicates||Return IBugSubscriptions subscribed from dupes of this bug.|
|Method||getSubscribersFromDuplicates||Return IPersons subscribed from dupes of this bug.|
|Method||getSubscribersForPerson||Find the persons or teams by which person is subscribed.|
|Method||getBugNotificationRecipients||Return a complete INotificationRecipientSet instance.|
|Method||clearBugNotificationRecipientsCache||Clear the bug notification recipient BugNotificationLevel cache.|
|Method||canBeAQuestion||Return True of False if a question can be created from this bug.|
|Method||getQuestionCreatedFromBug||Return the question created from this Bug, or None.|
|Method||getMessagesForView||Return BugMessage,Message,MessageChunks for renderinger.|
|Method||canBeNominatedFor||Can this bug nominated for this target?|
|Method||getNominationFor||Return the IBugNomination for the target.|
|Method||getNominations||Return a list of all IBugNominations for this bug.|
|Method||getBugWatch||Return the BugWatch that has the given bugtracker and remote bug.|
|Method||getBugTask||Return the bugtask with the specified target.|
|Method||getBugTasksByPackageName||Return a mapping from
|Method||isUserAffected||Is :user: marked as affected by this bug?|
|Method||userCanSetCommentVisibility||Return True if
|Method||getHWSubmissions||Return HWDB submissions linked to this bug.|
|Method||isExpirable||Is this bug eligible for expiration and was it last updated|
|Method||getActivityForDateRange||Return all the
|Method||shouldConfirmBugtasks||Should we try to confirm this bug's bugtasks?|
|Method||maybeConfirmBugtasks||Maybe try to confirm our new bugtasks.|
|Method||personIsDirectSubscriber||Return True if the person is a direct subscriber to this
|Method||personIsAlsoNotifiedSubscriber||Return True if the person is an indirect subscriber to this
|Method||personIsSubscribedToDuplicate||Return True if the person subscribed to a duplicate of this
|Method||getAllowedInformationTypes||Get a list of acceptable `InformationType`s for this bug.|
|Method||_indexed_messages||Low level query for getting bug messages.|
|Parameters||include_content||If True retrieve the content for the messages too.|
|include_parents||If True retrieve the object for parent messages too. If False the parent attribute will be forced to None to prevent lazy evaluation triggering database lookups.|
Returns True if the user is explicitly subscribed to this bug (no matter what the type of subscription), otherwise False.
If person is None, the return value is always False.
Returns True if the user is directly subscribed to at least one duplicate of this bug, otherwise False.
|Returns||True if the user has muted all email from this bug.|
Direct subscribers have an entry in the BugSubscription table.
Those with muted bug subscriptions are excluded from results.
|Returns||A ResultSet of tuples (Person, BugSubscription) representing a subscriber and their bug subscription.|
Indirect subscribers get bugmail, but don't have an entry in the BugSubscription table. This subscribers from dupes, etc.
This includes assignees, but not subscribers from duplicates.
This call should be quite cheap to make and performs a single query.
If no such
BugSubscription exists, return None.
BugSubscriptionInfoat the given
|Parameters||level||A member of |
The INotificationRecipientSet instance will contain details of
all recipients for bug notifications sent by this bug; this
includes email addresses and textual and header-ready
details of this implementation.
Call this when a change to a bug or bugtask would change the notification recipients. Changing a a bugtask's milestone or target is such a case.
Return True of False if a question can be created from this bug. A Question can be created from a bug if: 1. There is only one bugtask with a status of New, Incomplete, Confirmed, or Wont Fix. Any other bugtasks must be Invalid. 2. The bugtask's target uses Launchpad to track bugs. 3. The bug was not made into a question previously.
This eager loads message.owner validity associated with the bugmessages.
|Parameters||slice_info||Either None or a list of slices to constraint the returned rows. The step parameter in each slice is ignored.|
Returns True or False.
|Unknown Field: nomination_target||An IDistroSeries or IProductSeries.|
If no nomination is found, a NotFoundError is raised.
|Parameters||nomination_target||An IDistroSeries or IProductSeries.|
The list is ordered by IBugNominations.target.bugtargetdisplayname.
|Parameters||target||An IProduct or IDistribution. Only nominations for this target are returned.|
|nominations||The list of nominations to search through. If none is given, the bug's nominations are looked through. This can be useful when having to call this method multiple times, to avoid getting the list of nominations each time.|
Return None if this bug doesn't have such a bug watch.
Return None if no such bugtask is found.
ISourcePackageNameto its bug tasks.
This mapping is suitable to pass as the bugtasks_by_package cache to getConjoinedMaster().
The mapping is from a
ISourcePackageName to all the bug tasks
that are targeted to such a package name, no matter which
distribution or distro series it is.
All the tasks that don't have a package will be available under None.
Return True if `user` can set bug comment visibility. This method is called by security adapters for authenticated users. Users who can set bug comment visibility are: - Admins and registry admins - users in project roles on any bugtask: - maintainer - driver - bug supervisor Additionally, the comment owners can hide their own comments but that is not checked here - this method is to see if arbitrary users can hide comments they did not make themselves.
Only those submissions are returned which the user can access. Public submissions are always included; private submisisons only if the user is the owner or an admin.
|Parameters||user||The user making the request.|
|Returns||A sequence of HWDB submissions linked to this bug.|
If days_old is None the default number of days without activity is used.
Returns True or False.
IBugActivityfor this bug in a date range.
|Parameters||start_date||The earliest date for which activity can be returned.|
|end_date||The latest date for which activity can be returned.|
Return True if more than one user is affected.
Otherwise, return False.
Otherwise, return False.
Otherwise, return False.