Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#7162 closed defect (fixed)

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

Reported by: josh@… Owned by: Russ Tyndall
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 15 years ago by Russ Tyndall

Resolution: fixed
Status: newclosed

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

comment:2 Changed 15 years ago by Russ Tyndall

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
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.