Undefined array key warnings for user roles for which configurations are not available

Created on 12 May 2023, about 1 year ago
Updated 13 May 2023, about 1 year ago

Problem/Motivation

The updated version of the module seems to introduce the warnings for user roles for which configurations are not available.

Steps to reproduce

1. Add new user roles e.g. ROLE_1 & ROLE_2.
2. Create registration page for ROLE_1.
3. Edit any user & select roles ROLE_1 & ROLE_2 & save the user.
4. The warning will appear for ROLE_2 as Undefined array key "ROLE_2" in multiple_registration_handle_user_entity() (line 459 of modules/contrib/multiple_registration/multiple_registration.module)

Proposed resolution

Fix the code to get rid of warnings.

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Fixed

Version

3.2

Component

Code

Created by

🇮🇳India tanmayk Maharashtra

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

Comments & Activities

Production build 0.69.0 2024