Edgewall Software

Changes between Initial Version and Version 1 of Ticket #3162, comment 14


Ignore:
Timestamp:
Jan 11, 2017, 2:42:55 PM (7 years ago)
Author:
Jun Omae

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3162, comment 14

    initial v1  
    1 As I continue to try at debugging the problem, I've added debug lines in the EmailDistributor class (notification/mail.py) -- there I can see the class `__init__` and `transports` being called but never see the `distribute` function called.  The log show `INFO: Email address w/ou domain: xxx` a few times (once per partecipating user in a ticket) before logging the `__init__` and `transports` hits.
     1As I continue to try at debugging the problem, I've added debug lines in the `EmailDistributor` class (notification/mail.py) -- there I can see the class `__init__` and `transports` being called but never see the `distribute` function called.  The log show `INFO: Email address w/ou domain: xxx` a few times (once per partecipating user in a ticket) before logging the `__init__` and `transports` hits.
    22
    33Why is it that `distribute` isn't called ?
    44
    5 Following the code, the NotificationSystem.distribute_event is called witn an empty list as the `subscriptions` parameter. What determines that ? Shouldn't the ticket owner and people in Cc be always subscribed to ticket update events ?
     5Following the code, the `NotificationSystem.distribute_event` is called witn an empty list as the `subscriptions` parameter. What determines that? Shouldn't the ticket owner and people in Cc be always subscribed to ticket update events ?