For some reason, I'm getting duplicate e-mails for some project issues (i.e. issues for projects I own). I get exactly two mails per comment. These e-mails have identical content, but their date is usually 1 second apart. This started happening some weeks (months?) ago.
Comments
Comment #1
dwwThe problem is probably that you've subscribed personally to these issues, and you've configured the project itself to send you emails. This has been reported before, but I don't feel like searching for where. It started when we upgraded d.o to D6.
Comment #2
gábor hojtsyI've reported this same issue after the upgrade. Not sure I've created an actual issue though. It is still not resolved for me yet. Obviously I'd need to subscribe to projects in general, so I get the new issues, but I get subscribed when I follow up on issues. If this ends up in duplicate emails, we have no way to stop it without unsubscribing from the project itself, which means we do not get mails of new issues. Not a solution. This is clearly a regression.
Comment #3
kkaefer commentedI don't just get duplicate e-mails on follow ups but also on the original issue post.
Comment #4
dww@Gabor: you misunderstand me. There's a setting on the "Issues" subtab when you edit a project node, for example:
http://drupal.org/node/3202/edit/issues
"Issues e-mail address:"
Additionally, there's the per-user subscription interface, for example:
http://drupal.org/project/issues/subscribe-mail/webmasters
If you subscribe via both, you get duplicate emails. At least, I believe you started getting duplicates after the D6 upgrade. I'm not positive why you wouldn't get duplicates in D5, since I didn't see anything that changed in project_issue that would have affected this behavior -- looking at the code in both branches, it seems like you should get duplicates in both cases. My only non-theory is that something wonky about drupal_mail() is different and causing the new behavior, but I haven't actually investigated closely enough to confirm or deny this theory.
If you don't want duplicate emails, but want all issues for a given project, not just the ones you comment on, you have two options:
A) Just use the setting on the "Issues" edit subtab, and use "None" via the "subscribe-mail" page.
B) Do not use the setting on the "Issues" edit subtab, and use "All issues" on the "subscribe-mail" page.
Anyway, all of this email subscription code is stupid and broken, has been for years, and I've got a proposal for how to fix it:
http://3281d.com/2009/03/27/death-to-subscribe-comments
Support for that effort is welcome. ;)
Comment #5
kkaefer commentedI knew there was another subscribe interface, but I couldn't find it (I don't think it's linked anywhere).
Comment #6
kkaefer commentedAh, it's linked on the project page. There also used to be one large page with bazillions of radio buttons with subscribe options for all projects, though (this is what I used back then to subscribe).
Comment #7
dww@kkaefer:
Re #5: It's linked from both the project page (http://drupal.org/project/drupal "Subscribe to issues"), and from the per-project issue queue pages (http://drupal.org/project/issues/drupal and http://drupal.org/project/issues/search/drupal both have a "Subscribe" link in the header).
Re #6: Right, that page stopped working a few months ago when the # of projects exploded so large that the RAM required to generate that insane form was larger than d.o allowed. See #360815: WSOD on pages handled by project_issue.module.