#846: notification not being sent ------------------------+-------------------- Reporter: shorif2000 | Owner: nobody Type: defect | Status: new Priority: major | Milestone: Component: dashboard | Version: 0.8.0 Keywords: | ------------------------+-------------------- When i create a ticket on multiproduct i get an error in logs.
{{{ 2015-01-23 10:43:15,510 Trac[theme] DEBUG: BH Theme : Inserting class table table-condensed listing 2015-01-23 10:43:15,526 Trac[theme] DEBUG: BH Theme : Element classes [u'listing'] 2015-01-23 10:43:15,526 Trac[theme] DEBUG: BH Theme : Inserting class table table-condensed listing 2015-01-23 10:43:18,334 Trac[main] DEBUG: Dispatching <ProductRequestWithSession "POST '/qct'"> 2015-01-23 10:43:18,336 Trac[session] DEBUG: Retrieving session for ID 'shar...@spectrumasa.com' 2015-01-23 10:43:18,338 Trac[main] DEBUG: Negotiated locale: None -> en_GB 2015-01-23 10:43:18,347 Trac[api] WARNING: Unable to find repository '(default)' for synchronization 2015-01-23 10:43:18,500 Trac[whoosh_backend] DEBUG: Doc to index: {'status': u'new', 'product': u'SPSV', 'name': u'#16 16', 'author': u'shar...@spectrumasa.com', '_stored_name': u'16', 'query_suggestion_basket': u'#16 16 test create', 'summary': u'test create', 'required_permission': u'TICKET_VIEW', 'time': datetime.datetime(2015, 1, 23, 10, 43, 18, 364566), 'type': u'ticket', 'id': u'16', 'unique_id': u'SPSV:ticket:16'} 2015-01-23 10:43:18,629 Trac[theme] ERROR: Failure sending notification on creation of ticket #16: local variable 'reporter' referenced before assignment Traceback (most recent call last): File "/opt/html/bloodhound/installer/bloodhound/lib/python2.6/site- packages/bhtheme/theme.py", line 684, in create tn.notify(t, newticket=True) File "/opt/html/bloodhound/trac/trac/ticket/notification.py", line 156, in notify self._notify(ticket, newticket, modtime) File "/opt/html/bloodhound/trac/trac/ticket/notification.py", line 270, in _notify NotifyEmail.notify(self, ticket.id, subject, author) File "/opt/html/bloodhound/trac/trac/notification.py", line 344, in notify Notify.notify(self, resid) File "/opt/html/bloodhound/trac/trac/notification.py", line 230, in notify (torcpts, ccrcpts) = self.get_recipients(resid) File "/opt/html/bloodhound/trac/trac/ticket/notification.py", line 388, in get_recipients tktid, self.prev_cc) File "/opt/html/bloodhound/trac/trac/ticket/notification.py", line 129, in get_ticket_notification_recipients return (torecipients, ccrecipients, reporter, owner) UnboundLocalError: local variable 'reporter' referenced before assignment 2015-01-23 10:43:20,601 Trac[main] DEBUG: Dispatching <ProductRequestWithSession "GET '/ticket/16'"> 2015-01-23 10:43:20,610 Trac[session] DEBUG: Retrieving session for ID 'shar...@spectrumasa.com' 2015-01-23 10:43:20,619 Trac[main] DEBUG: Negotiated locale: None -> en_GB }}} -- Ticket URL: <https://issues.apache.org/bloodhound/ticket/846> Apache Bloodhound <https://issues.apache.org/bloodhound/> The Apache Bloodhound issue tracker