Fullscreen
Loading...
 
Skip to main content

GroupWatch on Calendar sends copy of all emails to some user with admin perms (and something similar with daily report emails too)

Status
Closed
Subject
GroupWatch on Calendar sends copy of all emails to some user with admin perms (and something similar with daily report emails too)
Version
12.x Regression
Category
  • Regression
Feature
Daily reports
Group
Watch (email notifications of changes)
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Lastmod by
lindon
Rating
(1)
Related-to
Description

GroupWatch on Calendar sends copy of all emails to some user with admin perms
See this setup, in a Tiki 12.x svn:

  • GroupA has users: user1, user2, user3, user4
  • user5, user6 exist, but are not in GroupA
  • user1 & user2 belong to Registered, and GroupA
  • user3 & user4 belong to Registered, GroupA, AdminsGroupA
  • user1, user2 & user3 receive individual emails from notifications (no daily report set).
  • user4, user5 & user6 have daily report set.
  • Calendar1 has groupA set to receive notifications through the Group Watches feature.

  • AdminsGroupA has a few extra permissions set, through inherited groups, related to calendars, and in many other areas.

(maybe the best way to reproduce would be to debug a copy of the production site)


How to reproduce (hopefully):

  • user4 adds an event to the Calendar1
  • user1 & user2 receive only one email each, with the notification of the event.
  • user3 receives 3 emails and it should receive only 1: one from the notification email sent to his email as "To:", but also a copy of the email sent to user1, and a copy of the email sent to user2. The email from user3 is not set as cc, so it seems as if it was set as "bcc"
  • user4 sees only one event in the daily digest received.
  • user4 receives 3 emails with notification digests: he receives his own, plus a copy of the notification email for user5, and another one for user6. [this looks as another bug non-related to Calendars, but with the notification watches system]


In the real setup of the production tiki site, there are not 3 users but many more, and therefore, the extra notification emails per event in the calendar get to annoy users...

The same setup worked properly in Tiki9, since this was reproduced in a production site recently upgraded from Tiki9svn to Tiki12svn.


Annoying. I can't seem to reproduce the issue in the show instance. 😑
But I promise there is some conflicting set of settings or something in our tiki site once we have upgraded it to Tiki12, since the issue is happening. 😕

If any developer is willing to debug, I can share an annonimized db dump of our tiki site. Drop me a message at xavi(a)tiki.org


The problem might be related to this other bug report:
https://dev.tiki.org/item5573Question

Solution

The culprit might be some loose code in the notification system when there are more groups in the tiki_group_watches mysql table than real groups currently still valid in Tiki.
Related: https://dev.tiki.org/item5573Question
Once this other bug5573 has been fixed, and manuall clearing old leftovers from former groupnames in the tiki_group_watches mysql table, we'll see if this issue dissapears, or it's still present in our production site.

Since bug5573 has been fixed, I am guessing this issue has been fixed and am closing this report. Please re-open if any issues.

Importance
6
Easy to solve?
4
Priority
24
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5497
Created
Wednesday 05 November, 2014 12:04:45 UTC
by Xavier de Pedro
LastModif
Friday 13 November, 2015 01:55:36 UTC


Show PHP error messages