Undefined array index "base_form_id" error is being produced after release 2.0.1

Created on 15 April 2024, about 1 year ago
Updated 29 April 2024, about 1 year ago

Problem/Motivation

After the issue 🐛 Support custom user form modes. Fixed was merged and released as 2.0.1 we noticed in our builds that php errors started to pop up all over the place. This is due to the wrong assumption of "base_form_id" in an if argument. Views exposed filters have no "base_form_id"!

Steps to reproduce

Hence the description of the problem, navigate to a views with exposed filter form with a non-admin user.

Proposed resolution

Fix the roleassign.module:79 https://git.drupalcode.org/project/roleassign/-/blame/2.0.x/roleassign.m...
by at least doing an isset().

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇧🇪Belgium joevagyok

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

Comments & Activities

Production build 0.71.5 2024