Set-Email operations do not check if email exists

Created on 14 October 2024, about 1 month ago

Problem/Motivation

The InitSetEmailResource and SetEmailResource REST Resources do not check if the email to update to already exists on another user account.

This leads to the initialization of the operation to work without problems, but actually setting the email leads to SQL errors.

Proposed resolution

Check for existing emails in the InitSetEmailResource.
Validate the user entity and check for email constraint violations in SetEmailResource.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇦🇹Austria chfoidl Salzburg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024