Closed kkreitmair closed 3 months ago
If a user is in several organizations, they will receive multiple identical notifications.
The reason for this is that the database query, which determines which user should receive the notification, can return a user multiple times.
Steps to replicate the issue:
272
openwisp_controller/config/apps.py
is_admin
default
env/bin/python tests/manage.py create_notification
If a user is in several organizations, they will receive multiple identical notifications.
The reason for this is that the database query, which determines which user should receive the notification, can return a user multiple times.
Steps to replicate the issue:
272
inopenwisp_controller/config/apps.py
.is_admin
is not required).default
, web notification checked and email notification checked.env/bin/python tests/manage.py create_notification