? No Code Attached Yet
avatar hytsch
hytsch
27 Dec 2022

Steps to reproduce the problem

  • Create an "Proofreading" group, add your user profile to this group.
  • Enable workflow, enable workflow notification emails.
  • Make sure the email sending from the website is working via SMTP.
  • Define a workflow phase transition X and enable the email notification option, add the "Proofreading" user group to the recipients.
  • Create a post and switch it from phase A to phase B (with transition X).

Expected result

The notification mail was sent.

Actual result

The (incorrect) error message appears: "No notifications are sent because there are no users to whom this message can be sent."

System information (as much as possible)

Joomla 4.2.6 PHP 8.1

Additional comments

avatar hytsch hytsch - open - 27 Dec 2022
avatar joomla-cms-bot joomla-cms-bot - change - 27 Dec 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Dec 2022
avatar hytsch hytsch - change - 27 Dec 2022
The description was changed
avatar hytsch hytsch - edited - 27 Dec 2022
avatar chmst
chmst - comment - 27 Dec 2022

Are you the user in the proofreading group and are you the user who performs the transition?
Then the notification is not sent.

avatar hytsch
hytsch - comment - 27 Dec 2022

Thank you for pointing this out. Now it works. :)
But I wonder if this behavior is useful. First, the configuration of Notification Mail recipients refers to a freely definable "user group" and there is no indication that someone belonging to this group is excluded from the filter. Moreover, it means that a user can never get the notifications for himself.

avatar hytsch hytsch - change - 27 Dec 2022
The description was changed
avatar hytsch hytsch - edited - 27 Dec 2022
avatar chmst
chmst - comment - 28 Dec 2022

Same as in forums software or here on github. I get notifications for every post in this repo - but never for mine, seems to be the usual behaviour in notification systems.
Would some more information in the message help?

avatar hytsch
hytsch - comment - 28 Dec 2022

Yes, I guess that's an argument. However, one could counter it with the fact that there are quite different types of notifications: Those that inform about an utterance/response in an ongoing conversation (and invite you to reply to a post) and those that only notify about a state or a state change.

The latter are notifications such as notifications about available updates, successfully performed tasks such as backups (Joomla tasks).

In the first case, the notification to the "author" / creator of a post, for example, is only usual, logical, expected in a particular case, since an action by the writer has already taken place. In the second case, however, it can be about general monitoring, just as I as an administrator can subscribe to system messages.

If you ask me, I would want notifications about a state change in a workflow in both cases: If you subscribe yourself as a user to the notification recipients, you should be allowed to receive these notification mails.

avatar chmst chmst - change - 28 Dec 2022
Labels Added: ?
avatar chmst chmst - labeled - 28 Dec 2022
avatar bembelimen
bembelimen - comment - 13 Jan 2023

See also #37860

Add a Comment

Login with GitHub to post a comment