-
Bug
-
Resolution: Fixed
-
High
-
8.8.0, 8.7.2, 7.19.18, 8.5.5, 7.19.19, 8.5.6, 8.5.7, 7.19.22
-
19
-
Severity 3 - Minor
-
105
-
Issue Summary
Both Mail Queue and Error Queue only shows the number but not the entries
This is reproducible on Data Center: (yes)
Steps to Reproduce
- Configure a mail server with Confluence
- Create 01 user (apart from the admin user)
- Use a proper email address for the admin user profile and a wrong email address for the other user.
- Create a new Space > Page using a normal user login and start watching the space
- As you are now with a normal user login, head over to your profile > Watches > Click on email settings at the bottom of the page > Edit the settings and check for all the boxes and save the changes.
- Repeat the same steps for the admin user as well
- Edit the page using both admin and normal user so that notifications are trigged to each user from Confluence
- If required, you can also mention user on the page and assign a task. Do a few edits on the page so that the admin user gets the notification in his/her mailbox.
- At this point the steps were done to just see that mail is getting triggered and admin is getting notification.
- Now edit SMTP server details and change the port to the wrong port, say example 333 and save the changes. This is to ensure that mail notification fails while Confluence tries to send it.
- Login as admin > General settings > Recommended updates email and change this to Daily in regards to performing our testing quickly.
- Now update the page again with login from both admin and normal user as we did in the past.
- After a while ( 5 mins ), you will see Mail Queue has numbers but here also it does not display the entries and just shows numbers.
- Now go to schedules jobs and run the below jobs in order -
- Flush Mail Queue
- Email Daily Reports
- Send Recommended Updates Email
After a few minutes, you will see that the error queue has been populated with numbers but has no entries.
Expected Results
Both Mail Queue and Error Queue should display the entries and the number
Actual Results
Both Mail Queue and Error Queue only display the number ( screenshots attached )
Workaround
We get exception if there is an error while sending notifications to particular user_key in atlassian-confluence-outgoing-mail.log which also shows the cause for failure but this is not user friendly at the moment.
A fix for this issue is available in Confluence Server and Data Center 8.5.14
Upgrade now or check out the Release Notes to see what other issues are resolved.