Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#6251 closed defect (fixed)

announcer plugin fails for tickets

Reported by: roger@… Owned by: doki_pen
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 5 years ago by doki_pen

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 5 years ago by doki_pen

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:3 Changed 5 years ago by doki_pen

sdfsdf

comment:4 Changed 5 years ago by doki_pen

  • Resolution set to fixed
  • Status changed from reopened to closed

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

comment:5 Changed 5 years ago by doki_pen

Sorry about that. Very sloppy.

comment:6 Changed 5 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:7 Changed 5 years ago by doki_pen

  • Resolution set to fixed
  • Status changed from reopened to closed

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

comment:8 Changed 4 years ago by doki_pen

(In [7576]) Fixes bad method names.

fixes #6251
merge -r7168

comment:9 Changed 4 years ago by doki_pen

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

fixes #6251
merge -r7169

comment:10 Changed 4 years ago by doki_pen

(In [7579]) fixes refactor errors

fixes #6251
merge -r7172

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from doki_pen. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.