Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7162 closed defect (fixed)

AttributeError: 'TicketNotifyEmail' object has no attribute 'compmgr'

Reported by: josh@… Owned by: bobbysmith007
Priority: normal Component: NeverNotifyUpdaterPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

This is possibly the fault of the Worklog plugin and not this one, but anyway.

Clicking the 'Stop Work' button that the Worklog plugin provides causes the following error to be raised:

AttributeError: 'TicketNotifyEmail' object has no attribute 'compmgr'

Traceback:

File "/usr/lib/python2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/web/main.py", line 450, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib/python2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/web/main.py", line 206, in dispatch
  resp = chosen_handler.process_request(req)
File "build/bdist.linux-x86_64/egg/worklog/webui.py", line 141, in process_requestFile "build/bdist.linux-x86_64/egg/worklog/manager.py", line 222, in stop_workFile "build/bdist.linux-x86_64/egg/worklog/manager.py", line 92, in save_ticketFile "/usr/lib/python2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/ticket/notification.py", line 154, in notify
  NotifyEmail.notify(self, ticket.id, subject)
File "/usr/lib/python2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/notification.py", line 241, in notify
  Notify.notify(self, resid)
File "/usr/lib/python2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/notification.py", line 133, in notify
  (torcpts, ccrcpts) = self.get_recipients(resid)
File "build/bdist.linux-x86_64/egg/nevernotifyupdaterplugin/api.py", line 10, in new_get_recipients

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by bobbysmith007

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

(In [8017]) correctly scope my selfs so that we actually ask the plugins cmpmgr about the plgins class fix #7162

comment:2 Changed 5 years ago by bobbysmith007

Sorry that this has been such a struggle for you :(

Not sure how I missed this in testing (or apparently the lack thereof).

I have tested this new version pretty thoroughly. I put two email address on there and when changing the plugin between enabled and disabled it was correctly sending to one or both of the addresses.

I sincerely hope that you will have no other bugs with this plugin (once you install the new ver),

Russ

Add Comment

Modify Ticket

Action
as closed The owner will remain bobbysmith007.
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.