Still working after upgrade?

Created on 28 July 2025, 6 days ago

I have had "drupal/required_api": "^2.1" and "drupal/required_by_role": "^1.3" installed in my project.
It worked beautifully.

I now upgraded both modules to "drupal/required_api": "^3.0" and "drupal/required_by_role": "^2.0" because they have been marked out-of-date. Unfortunately required_by_role is not working at all anymore. No matter what role I select in the field setup form - the field will be required for ALL user roles.

It seems that when I select "Required by role" in the "Choose a required strategy" section the "default required" field is selected automatically? Hard to tell. My problems persist.

I have tested this behaviour on a blank Drupal 10 install and with different admin themes.
I have tested on PHP 8.2 and 8.3. Nothing seems to fix my problem.

I will cross post this into 'required_api' as well.

🐛 Bug report
Status

Active

Version

2.0

Component

Documentation

Created by

🇩🇪Germany fhelms

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

Comments & Activities

Production build 0.71.5 2024