l.b.b.b.IAddBugTaskWithUpstreamLinkForm(IAddBugTaskForm) : interface documentation

Part of lp.bugs.browser.bugalsoaffects View In Hierarchy

Form for adding an upstream bugtask with linking options.

The choices in link_upstream_how correspond to zero or one of the text fields. For example, if link_upstream_how is LINK_UPSTREAM then bug_url is the relevant field, and the other text fields, like upstream_email_address_done, can be ignored.

That also explains why none of the text fields are required. That check is left to the view, in part so that better error messages can be provided.

Choice link_upstream_how How to link to an upstream bug.
StrippedTextLine bug_url The URL of this bug in the remote bug tracker.
StrippedTextLine upstream_email_address_done The upstream email address that this bug has been forwarded to.

Inherited from IAddBugTaskForm:

Choice product Undocumented
Choice distribution Undocumented
Choice sourcepackagename The source package in which the bug occurs. Leave blank if you are not sure.

Inherited from ILinkPackaging (via IAddBugTaskForm):

Bool add_packaging Always suggest this project when adding an upstream bug for this package.
link_upstream_how =
How to link to an upstream bug.
bug_url =
The URL of this bug in the remote bug tracker.
upstream_email_address_done =
The upstream email address that this bug has been forwarded to.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.