Edgewall Software
Modify

Ticket #8293 (closed defect: worksforme)

Opened 3 years ago

Last modified 4 months ago

Reporter not Receiving Email notifications Until modifies own ticket

Reported by: dfleming@… Owned by: eblot
Priority: highest Milestone:
Component: notification Version: 0.11.7
Severity: blocker Keywords:
Cc: sheuchler@…, a.rublev@…, sebastian@…, chdillon@…
Release Notes:
API Changes:

Description

I've done some extensive testing on this and it seems with always notify owner / reporter / updater turned on and the notification system otherwise working properly, the reporter receives no notification emails until they go back to the ticket they created and add or change something in the ticket. Then they start receiving notifications. I'm not getting any errors regarding smtp or anything. This is a bit strange. Is anybody else having this problem?

System Information
Trac: 	0.11.3
Python: 	2.4.4 (#1, Oct 22 2008, 19:49:52) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
setuptools: 	0.6c9
SQLite: 	3.3.8
pysqlite: 	2.3.2
Genshi: 	0.5
mod_python: 	3.2.10
Subversion: 	1.4.2 (r22196)
jQuery:	1.2.6

Attachments

Change History

comment:1 Changed 3 years ago by anonymous

I am having this problem as well. All my tickets are created with email2trac though. The person who reported the ticket gets no notification what so ever.

comment:2 Changed 3 years ago by David Fleming <dfleming@…>

  • Priority changed from high to highest
  • Severity changed from critical to blocker

Anybody Know anything about this?????

comment:3 Changed 3 years ago by cboos

  • Keywords needinfo added

Please first try to reproduce the issue without email2trac or any other plugin being involved, so that you're sure it's an issue with Trac itself.

In the latter case, please provide all the information needed to reproduce the issue, i.e. the relevant settings from TracIni [notification] section (feel free to obfuscate what needs to be).

comment:4 Changed 3 years ago by David Fleming <dfleming@…>

  • Version changed from 0.11.3 to 0.11.4

I turned every plugin off and tested. Still doesn't send the reporter a notification until they make a comment or change a field in the ticket. *(this is when they become the updater). All other tests of notification system are successful. Updater, owner, etc...

System Information
Trac: 	0.11.4
Python: 	2.4.4 (#1, Oct 22 2008, 19:49:52) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
setuptools: 	0.6c9
SQLite: 	3.3.8
pysqlite: 	2.3.2
Genshi: 	0.5
mod_python: 	3.2.10
Subversion: 	1.4.2 (r22196)
jQuery:	1.2.6
[notification]
admit_domains =
always_notify_owner = true
always_notify_reporter = true
always_notify_updater = true
ignore_domains =
mime_encoding = base64
smtp_always_bcc =
smtp_always_cc =
smtp_default_domain =
smtp_enabled = true
smtp_from = trac.*****@*****.com
smtp_from_name = Pluginstestingproject
smtp_password =
smtp_port = 25
smtp_replyto = ****@*****.com
smtp_server = ***.*.*.***
smtp_subject_prefix = __default__
smtp_user =
ticket_subject_template = $prefix #$ticket.id: $summary
use_public_cc = False
use_short_addr = false
use_tls = false

comment:5 Changed 3 years ago by anonymous

  • Keywords Need to recheck added; needinfo removed
  • Milestone set to 0.11.5
  • Summary changed from Reporter not Receiving Email notifications Until modifies own ticket to total change

hai some probs here

comment:6 Changed 3 years ago by rblank

  • Keywords needinfo added; Need to recheck removed
  • Milestone 0.11.5 deleted
  • Summary changed from total change to Reporter not Receiving Email notifications Until modifies own ticket

This is not a test system. Thank you.

comment:7 Changed 3 years ago by Sebastian Heuchler <sheuchler@…>

  • Cc sheuchler@… added

comment:8 Changed 3 years ago by a.rublev@…

  • Cc a.rublev@… added

comment:9 Changed 3 years ago by anonymous

Whats this?

comment:10 Changed 3 years ago by anonymous

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

comment:11 Changed 3 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:12 Changed 3 years ago by David Fleming <dfleming@…>

Is there any news on that status of this fix. It's rather important, more so than most of the other bug fixes. Am I wrong?

comment:13 Changed 3 years ago by Sebastian Krysmanski <sebastian@…>

  • Cc sebastian@… added

Hmmm... this works without problems for me.

Trac:           0.11.4
Python:         2.6.2 (release26-maint, Apr 19 2009, 02:11:59) [GCC 4.3.3]
setuptools:     0.6c9
SQLite:         3.6.10
pysqlite:       2.5.0
Genshi:         0.5.1
Pygments:       1.0
Subversion:     1.6.3 (r38063)
jQuery:         1.2.6

comment:14 Changed 3 years ago by anonymous

Status

comment:15 Changed 2 years ago by anonymous

  • Version changed from 0.11.4 to 0.11.5

Still having an issue with this. Does anybody have any ideas. I'll take any ideas at this point.

comment:16 Changed 2 years ago by anblasko@…

I'm also having same problem with Trac 0.11.3 or 0.11.5.

INFO: Sending SMTP notification to smtp.gmail.com:587 to [u'ante@…', u'xxx.xxxxx@…']

Where .hr account is reporter and .com account is owner. Reporter never gets mails. Owner does.

[notification]
always_notify_owner = true
always_notify_reporter = true
...

comment:17 follow-up: Changed 2 years ago by dfleming@…

Not sure if this will help anyone but I originally created this ticket and We recently moved our trac/subversion environment to a brand new machine with a different OS (from debian to Cent-os(redhat)). Or more precisely, we installed Trac 0.11.3 and upgrade to 0.11.5 then moved all projects over to the new machine. We reinstalled all plugins (because a different version of python among other things) on the new os. We used the same configurations and everything from the old machine. And of course as soon as we moved over this problem in this ticket suddenly stopped. So We don't know if it was a problem with the os or the install of trac or maybe even old version of a plugin but this might help somebody who really wants to get this problem solved. Good luck!

comment:18 in reply to: ↑ 17 Changed 2 years ago by cboos

  • Keywords needinfo removed
  • Resolution set to worksforme
  • Status changed from reopened to closed

Replying to dfleming@…:

... So We don't know if it was a problem with the os or the install of trac or maybe even old version of a plugin but this might help somebody who really wants to get this problem solved.

Thank you for letting us know you solved the issue. It seems it was an InstallationIssue after all.

comment:19 Changed 21 months ago by chdillon@…

  • Cc chdillon@… added

I'm having this same issue on a fairly new(about a week old) but very well accepted installation of Trac. I've done some tracing and have narrowed down the area that is having trouble, but i'm not a python dev so i'm a bit confused. The get_recipients method of the TicketNotifyEmail? class isn't allways called. It looks like it might only be called maybe the first time a ticket is edited?

I have logging statements in both Notify.notify and TicketNotifyEmail?.get_recipients. In cases where the log statements in get_recipients are called, the return is correct and includes the reporter. Subsequent changes and calls to Notify.notify are still getting a list of recipients, but that list 1) does not include the owner, and 2) doesnt seem to come from TicketNotifyEmail? since in those cases, my log statements aren't hit.

My users love Trac, but i need to work this out if anyone is interested in helping take a look, or suggesting somewhere else i should look, i would GREATLY appreciate it. I'm not sure where the second implementation of get_recipients is coming from.

    def notify(self, resid):
        self.env.log.debug("cad:Notify.notify")
        (torcpts, ccrcpts) = self.get_recipients(resid)
        self.env.log.debug("cad:Notify.notify after get_recipients %s : %s" % (torcpts, ccrcpts))
        self.begin_send()
        self.send(torcpts, ccrcpts)
        self.finish_send()
    def get_recipients(self, tktid):
        self.env.log.debug("get_recipients for: %s" % (tktid))
        notify_reporter = self.config.getbool('notification',
                                              'always_notify_reporter')
        notify_owner = self.config.getbool('notification',
                                           'always_notify_owner')
        notify_updater = self.config.getbool('notification', 
                                             'always_notify_updater')

        ccrecipients = self.prev_cc
....

comment:20 Changed 21 months ago by anonymous

  • Version changed from 0.11.5 to 0.11.7

comment:21 Changed 4 months ago by fai@…

I've been having this same problem (always_notify_* = true) with reporters not receiving notifications. I've recently upgraded to 12.2, and this issue is still persisting. The trac installation is as vanilla as it gets (no other plugins), running on Centos.

I have myself CC'ed on smtp_always_cc so I receive every new and updated ticket notification, but the users report not receiving any emails.

Has there been any resolution or progress on this?

comment:22 Changed 4 months ago by anonymous

  • Resolution worksforme deleted
  • Status changed from closed to reopened

(still an issue)

comment:23 Changed 4 months ago by rblank

  • Resolution set to worksforme
  • Status changed from reopened to closed

This issue seems to have been an installation issue.

Can you please open a new ticket and describe the symptoms you observe precisely, preferably with steps to reproduce the issue? Reopening a two year old ticket makes it difficult to track. You can reference this ticket if you think it's related.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from eblot. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.