Create a unified API for recording changes to a bug

Bug #336802 reported by Graham Binns
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Graham Binns

Bug Description

There should be a single API for creating email notifications and adding items to a bug's activity log, rather than the two separate APIs (addChangeNotification() and addCommentNotification()) that we have now.

The API should be implemented in such a way that it's impossible for a developer using it to forget to add an item to the activity log. Not including an item in the activity log should be a deliberate decision; omission through forgetfulness shouldn't be an option.

Graham Binns (gmb)
Changed in malone:
importance: Undecided → High
milestone: none → 2.2.3
status: New → Triaged
Revision history for this message
Björn Tillenius (bjornt) wrote : Re: [Bug 336802] [NEW] Create a unified API for recording changes to a bug

On Mon, Mar 02, 2009 at 05:00:49PM -0000, Graham Binns wrote:
> There should be a single API for creating email notifications and adding
> items to a bug's activity log, rather than the two separate APIs
> (addChangeNotification() and addCommentNotification()) that we have now.

We have at least three APIs, since neither of above add things to the
activity log.

Changed in malone:
assignee: nobody → gmb
status: Triaged → In Progress
Revision history for this message
Björn Tillenius (bjornt) wrote : Bug fixed by a commit

Fixed in devel r7964.

Changed in malone:
status: In Progress → Fix Committed
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.