Task changes not sending notifications

Created on 22 December 2016, almost 8 years ago
Updated 11 June 2024, 5 months ago

When editing a Task node, notifications are not sent.
This is caused by:

function oa_worktracker_oa_messages_type_alter(&$message_type, $context) {
  // TODO: replace the oa_create with something else too...
  if (in_array($message_type, array('oa_update', 'oa_comment')) && $context['entity']->type == 'oa_worktracker_task') {
    // tell OpenAtrium not to create a message for this! We'll handle it ourselves..
    $message_type = NULL;
  }
}

When updating a Task via the comment form (comment_alter), notifications do get sent. This is implemented by oa_worktracker_comment_insert().

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024