IAddBugTaskForm should define its own attributes
Bug #129406 reported by
Graham Binns
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Undecided
|
Graham Binns |
Bug Description
IAddBugTaskForm takes its attributes from other interfaces rather than defining them itself. This behaviour can cause TypeErrors when trying to adapt these attributes for other interfaces and so should be changed.
Changed in malone: | |
assignee: | nobody → gmb |
status: | New → In Progress |
Changed in malone: | |
status: | In Progress → Fix Committed |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
On Tue, Jul 31, 2007 at 12:16:41PM -0000, Graham Binns wrote:
> Public bug reported:
>
> IAddBugTaskForm takes its attributes from other interfaces rather than
> defining them itself. This behaviour can cause TypeErrors when trying to
> adapt these attributes for other interfaces and so should be changed.
An alternative solution to this is to remove IAddBugTaskForm altogether,
constructing self.form_fields in BugAlsoReportInView manually, using the
fields from IBugTask.