> is this ok that everybody calling "save" has to be aware that > notification exists, and has to call it afterwards? or its just a bug > in trac to implement it this way?
For now, this is how Trac is implemented. Not really a bug, but there's definitely room for improvement. When this piece of code has been created, I guess there was only one location within Trac to send ticket notifications, so it did not really matter by that time. When a ticket is updated, Trac triggers an event that is received by any listener that has subscribed to receive such an event. Notification subsystem should probably subscribe to receive these events rather that to be explicitly call for each kind of notification - moreover the same strategy would be used to send notification on wiki page edition, for example. -- Manu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
