- 🇬🇷Greece balis_m
Patch from #51 does not apply to Drupal 10.1.1. So, I rerolled it.
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago 29,401 pass, 7 fail
When configuring an entity reference field for users, you can choose to disallow anonymous user selection. However, this only works when providing the list of autocomplete values, but is completely ignored during validation. It seems that this bug even allows you to bypass the "required" flag of the field.
You can see this bug by:
Expected behavior:
The entity reference autocomplete widget should throw a validation error saying "Foo bar (0)" is invalid, just like it would with "Foo bar".
When showing radio buttons, people with 'administer users' are shown Anonymous as an option because of some logic in UserSelection not setting any condition and thus selecting all users (including UID 0) from the {users} table.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Patch from #51 does not apply to Drupal 10.1.1. So, I rerolled it.