announcer plugin fails for tickets
|Reported by:||Owned by:||Robert Corsaro|
I just updated to the current AnnouncerPlugin (r7165). The previous version I had was r5930, and it worked fine. I still get announcements for wiki page changes. But tickets no longer work. I get this in the Trac log.
2009-11-24 12:47:29,823 Trac[api] ERROR: AnnouncementSystem failed. Traceback (most recent call last): File "build/bdist.linux-i686/egg/announcerplugin/api.py", line 351, in _real_send x for x in sp.get_subscriptions_for_event(evt) if x File "build/bdist.linux-i686/egg/announcerplugin/api.py", line 351, in <genexpr> x for x in sp.get_subscriptions_for_event(evt) if x File "build/bdist.linux-i686/egg/announcerplugin/subscribers/ticket_compat.py", line 136, in get_subscriptions_for_event self._always_notify_ticket_reporter(ticket), File "build/bdist.linux-i686/egg/announcerplugin/subscribers/ticket_compat.py", line 174, in _always_notify_ticket_reporter notify = self._check_opt_out('notify_reporter', ticket['reporter']) AttributeError: 'LegacyTicketSubscriber' object has no attribute '_check_opt_out'
The ticket owner was making the change.