Plugin does not respect NeverNotifyUpdaterPlugin
|Reported by:||Owned by:||CStrac|
First thank you for this little plugin. I was looking for the same issue and was thinking about an enhancement of the AdvancedTicketWorkflowPlugin. This is the better way I think.
We are using email2trac and want to notify the reporter as you mentioned in your description.
There is a lttle problem with NeverNotifyUpdaterPlugin which is no longer operating after installation of this plugin!
Reason seems to be that NeverNotifyUpdaterPlugin uses the same procedure:
4 def get_recipients(self, tktid): ... 48 if not notify_updater: 49 filter_out = True 50 # if notify_reporter and (updater == self.reporter): 51 # filter_out = False 52 # if notify_owner and (updater == self.owner): 53 # filter_out = False 54 if filter_out: 55 torecipients = [r for r in torecipients if r and r != updater] 56 ccrecipients = [r for r in ccrecipients if r and r != updater] 57 elif updater: 58 torecipients.append(updater)
Looks like that the behaviour depends on order of loading the eggs.
Is there a way to fix this? Perhaps in respecting each other?