Can't see Bundle after upgrade to Drupal 10.3

Created on 29 June 2024, 6 months ago
Updated 5 July 2024, 6 months ago

Problem/Motivation

After upgrading to Drupal 10.3 if you try to add a new validation rule set nothing can be selected in the Bundle field. Problem exists on 8.1.1 and 3.0.0-beta3. The existing rules still work and you can add to or edit the existing rule sets.

Steps to reproduce

Upgrade to Drupal 10.3 and go to '+Add field validation rule set', select any 'Entity type', then try to select a 'Bundle'.

Proposed resolution

After a look through the code it seems the problem is related to $default_entity_type in 'FieldValidationRuleSetAddForm.php'. If I remove the remarks from '// $default_entity_type = 'node';' and clear the cache I can select the node bundles and create the validation rule set.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

Component

User interface

Created by

🇦🇺Australia davidkp

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

Comments & Activities

Production build 0.71.5 2024