Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In notifications_team_comment(), $comment is not an object for the insert and update $op, so notifications_team_update() is always passed the same argument for $displaymsg, therefore checking or unchecking the "Do not send notifications for this update." box makes no difference and a status message will always be displayed.
This gives the impression that emails/notifications have been sent even though they haven't.
Patch attached with fix.
Comment | File | Size | Author |
---|---|---|---|
notifications_team-comment-is-an-array.patch | 746 bytes | mcjim |
Comments
Comment #1
obrienmd CreditAttribution: obrienmd commentedsubscribe
Comment #2
fenstratPatch in #0 works exactly as expected. RTBC.
Comment #3
fenstratThe patch in #0 is still RTBC.
Just had to apply it again after updating to Open Atrium 1.1
Comment #4
fenstratThe patch in #0 is still RTBC.
Just had to apply it again after updating to Open Atrium 1.2
Comment #5
obrienmd CreditAttribution: obrienmd commentedIndeed #0 is still good. This module hasn't got much love lately.
Comment #6
DSheffler CreditAttribution: DSheffler commentedWe really appreciate everyone testing this. I'll make sure we get this rolled in soon.
Comment #7
fenstratThe patch in #0 is still RTBC.
Just had to apply it again after updating to Open Atrium 1.3
Comment #8
webflo CreditAttribution: webflo commentedThanks! Commit 03e5416 on 6.x-2.x
Comment #9
fenstratThanks webflo, any chance of a new release for 6.x-2.x?
It also appears this same bug is present in the 6.x-3.x branch, if that's still being developed?
Comment #10
webflo CreditAttribution: webflo commentedI fixed the bug in 6.x-3.x and 6.x-4.x too. I roll a new release (6.x-2.1-beta9) in a few days.
Comment #11
webflo CreditAttribution: webflo commentedComment #12
fenstratThanks again webflo.
Comment #14
fenstratOpen Atrium 1.4 doesn't yet contain this patch as there hasn't been a new release of team_notifications. @webflo can you make a new release please?
Comment #15
webflo CreditAttribution: webflo commentedSorry i was a bit late. New release is created it should be shown on the project page in a couple of hours ...
Comment #16
fenstratNo worries webflo, thank you!