Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6251 closed defect (fixed)

announcer plugin fails for tickets

Reported by: roger@… Owned by: Robert Corsaro
Priority: high Component: AnnouncerPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11

Description

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.

Attachments (0)

Change History (10)

comment:1 Changed 7 years ago by Robert Corsaro

Resolution: fixed
Status: newclosed

(In [7168]) Fix bad method names. Fixes #6251

comment:2 Changed 7 years ago by Robert Corsaro

Resolution: fixed
Status: closedreopened

comment:3 Changed 7 years ago by Robert Corsaro

sdfsdf

comment:4 Changed 7 years ago by Robert Corsaro

Resolution: fixed
Status: reopenedclosed

(In [7169]) This guy fixes a bad prop references regression. Fixes #6251

comment:5 Changed 7 years ago by Robert Corsaro

Sorry about that. Very sloppy.

comment:6 Changed 7 years ago by anonymous

Resolution: fixed
Status: closedreopened

comment:7 Changed 7 years ago by Robert Corsaro

Resolution: fixed
Status: reopenedclosed

(In [7172]) Fix refactor errors fixes #6251

comment:8 Changed 7 years ago by Robert Corsaro

(In [7576]) Fixes bad method names.

fixes #6251 merge -r7168

comment:9 Changed 7 years ago by Robert Corsaro

(In [7577]) fixes a bad prop references regression.

fixes #6251 merge -r7169

comment:10 Changed 7 years ago by Robert Corsaro

(In [7579]) fixes refactor errors

fixes #6251 merge -r7172

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Robert Corsaro.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.