internal > notifications > Bug (done?)

notification are not sent after task assignment/#4745

Summary

v0.08
done?
Apr 23, 2007
100%
Apr 24, 2007 / pixtur
May 1, 2007 / pixtur
 

Attached files

No files uploaded
 
I observed this behaviour after opening a new task and assigning a person to it:
  • the mail-trigger (....go=triggerSendNotifications) doesn't send a notification at all
  • also I went to the person page and sent the e-mails to her ("e-mail jetzt senden")
  • now there's a notification mail, but instead of saying something like "you've been assigned to task..." the person gets this general remarks:
/r/nSie wurden folgenden Projekten zugewiesen.
Testprojekt

We use streber also (must admit: mainly) as a ticketing system (wrong idea?) to assign customer support requests to individuals and therefore would like an e-mail generated every time a task assignment happens.

I'm not sure now whether this can be expected from streber or not when reading your post above. Since you provide the streber source code I could implent the wanted behaviour by myself - but before doing I'd like to know how to proceed best.



also see:

Issue report

Minor
Have not tried
PHP 5.2.X
Streber 0.07972
2007-01-14 16:41
 

10 Comments

pixtur:Some questions

5 years ago

Please edit the ticket and fill out details about your installation.
  • What is the setting of "notification period" of the assigned person?
  • Is the assigned person a team member?
  • What is his profile / role as team member?
I will try to reproduce the problem.


eh:More details

5 years ago

Installation Environment
  • PHP-Version: 5.2.0 (phpInfo)
  • streber-Version: 0.0796
  • OS environment is WinXP, MS Exchange Server (version ?)
  • MySQL Server Version: 5.0.27-community-nt, Protokoll-Version: 10
streber Data
  • The company category is "custoemr" and has only values for "name" and "short name" (Abkürzung)
  • The project has a name and state is "open", all other fields have their default value
  • There are 6 project members with categories "developer" or customer" and the "admin" who created the company, the project and the users as well

pixtur:weird...

5 years ago

The notification mail is only been sent, if all of the following is true:
  • the person can login
  • the person as a valid email address
  • the person has a notification period != Never
  • the person is assigned to one or more active projects
  • an item (e.g. a task) of this projects is being changed
  • triggerSentNotification is requested or somebody explicitly presses "Logout"
  • the time the last notification mail was sent to this user is beyond the notification period
  • the smtp is setup correctly
Some examples not fulfilling this:
  • No mail is sent, if there are no relevant changes (we don't want to annoy).
  • No mail is sent, if user cannot login (he could not use the information anyway)
The problem now is figuring out, what's not working at your place. I am getting three or more notification mails a day...


eh:Mail-Trigger not working as expected (and more...)

5 years ago

Checked SMTP config, works as needed.

Then did this as user "admin":
  1. created new user for a company with all the requirements as mentined above (profile: developer, e-mail: daily, mail-address for: office, not personal e-mail)
  2. kicked the mail-trigger (http://localhost/streber/index.php?go=triggerSendNotifications)
  3. user gets the account creation notification (".... Ihr Konto wurde eingerichtet.")
  4. added new user to a project
  5. kicked the mail-trigger
  6. no notification mail received
  7. removed user from project
  8. kicked the mail-trigger
  9. no notification mail received
  10. added new user to same project again
  11. kicked the mail-trigger
  12. no notification mail received
  13. opened page of person in question and clicked "send mail now" (e-mail jetzt senden)
  14. got notification mail saying that user is assigned to project - fine!
  15. created new task and assigned person to it
  16. kicked the mail-trigger
  17. no notification mail received
  18. opened page of person in question and clicked "send mail now" (e-mail jetzt senden)
  19. got notification mail mentioning the new task - fine!
Ok, I can see clearly now that the mail-trigger doesn't work as I expected (and as is described in the documentation).

What I'd like to have is this:
  • Mail-trigger should send all outstanding e-mails, independent of e-mail interval defined in the user profile
  • A configuration option (global or per user) where one could define whether persons should get an immediate e-mail when assigned to a task and/or project.
best regards
eh

pixtur:Some more clarification...

5 years ago

The mail trigger is meant to be triggered on a regular basis, like once a day in the morning. The minimum notification period right now is "daily" which means that all changes are collected until the time since the last notification mail for the user greater than one day.

Actually I really like this behavior because I personally feel that if users get spammed with notification mails every two seconds, their mail filter will take care of them. I know this from mantis. Collecting changes is a just my cup of tea :) - I love it that way.

Nevertheless we need a mail setting of immediate notification mail. I got that. You are not the first to request this feature.

Where in the documentation did you find the wrong description?

eh:Antwort auf Some more clarification...

5 years ago

I agree with you that persons shouldn't get flooded with e-mails. And I appreciate your commitment to provide a means of immediate notification. Thanks!

eh:Clear to me now - and others?

5 years ago (7. update 5 years ago)

I read it here under Triggering Notifications. After reading it another time (and with a bit more experience in working with streber - and the immediate responses I get from you!) I understand it now, I hope. But I guess others could also be missleaded when reading this about the mail-trigger:


Triggering Notifications
Normally notifcations are triggered if a person logs out. That is the only page refresh which is not time critical. Additionally you can manually trigger the sending of notifications by requesting:

 http://www.yourDomain.com/index.php?go=triggerSendNotifications

...

[/code]



Consequently it means: the mail-trigger respects the user's notification interval.

If you don't mind I'm going to slightly change this page in the doc.


pixtur:Antwort auf Clear to me now - and others?

5 years ago

Please go ahead. It would really help me a lot, if users would start to fix the documentation!


pixtur:so I guess it's closed

5 years ago


eh:Antwort auf so I guess it's closed

5 years ago

Right.