Skip to content

Incorrect patron communication_channel after removing email. #2887

@BadrAly

Description

@BadrAly

Bug description:

When a patron removes the email from his/her own profile via the public interface, the communication_channel remains set to email even though the patron has no additional_communication_email set.

Expected behavior:

The patron field communication_channel should be set to mail if it has no email configured for both fields email and additional_communication_email

Steps to Reproduce:

  1. Open a user profile in the public interface
  2. Remove the contents of the field email
  3. Save the profile
  4. Go to the professional interface and check there is no emails set in the field additional_communication_email
  5. The patron communication_channel is still set to email.

Server:

Version:
v1.10.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions