IAddBugTaskForm should define its own attributes

Bug #129406 reported by Graham Binns
2
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.

Tags: lp-bugs
Graham Binns (gmb)
Changed in malone:
assignee: nobody → gmb
status: New → In Progress
Revision history for this message
Björn Tillenius (bjornt) wrote : Re: [Bug 129406] IAddBugTaskForm should define its own attributes

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.

Graham Binns (gmb)
Changed in malone:
status: In Progress → Fix Committed
Graham Binns (gmb)
Changed in malone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.