Skip to content

Improve simulation email handling.

Alejo Carballude requested to merge feature/improve_email_handling into develop

Related tasks

Context

When sending simulation summary emails, the organization email is added to the set of email recipients. The organization is obtained from the simulation deployment owner information.

If a user requests a simulation and does not specify the target owner, the owner is set to the user itself.

The current email sending job tries to get the organization related to the user that requested the simulation. If the organization does not exist because the user is not part of an organization or because the simulation deployment owner was set to a user and therefore no organization exists for it, the job will fail with an error.

Change

The email sending logic has been updated to fail silently and continue if an user organization is not found when preparing the set of email recipients.

Other information

Additional documentation

Merge request reports