[Bug]: Problem with notification
Bug Summary
No Notification is send if a task assigns to own user and a subtask is created with a different assignee
Description
If i create a new task with User A (thats the user logged into kanboard) and add this User A to this taks and in this task we create a sub task with an assignee User B, there is no notificatoion send about this sub task to the assignee B. User A and B has notification (mail) enabled and receives notifications for tasks created by him and tasks assigned to him.
In the same task the User B creates a Sub task and assign this to User A -> a notification is send.
If User A add User B as assignee to the Task the User B gets a notificatoin about that event. And now the User B gets also a notification if User A add a sub task with assignee User B.
Steps to Reproduce
Create a Task Assign yourself (the user which is logged into kanboard at the moment) to the task Create a sub task and assign it to a different User
No Mail is send to the user which is assigned to the sub task
Expected Behavior
notification is send to the user that is assigned to the sub task
Actual Behavior
No Mail is send to the user which is assigned to the sub task
Version
1.2.52
Database
MariaDB10.11.14
PHP Version
8.3.6
Browser
Chrome
Operating System
ubuntu 24.04
Relevant Logs or Error Output
Additional Context
No response
Checklist
- I have searched existing issues to ensure this bug hasn't been reported before.
- I verified that the problem is not caused by a plugin. Please report the issue to the plugin author if applicable.
Source: kanboard/kanboard