Closed (fixed)
Project:
Select (or other)
Version:
4.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Oct 2024 at 20:03 UTC
Updated:
21 Nov 2025 at 12:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sourav_paulComment #3
sourav_paulI've tested it on drupal 10.3 with module version 4.1 this is working as expected even with default value of select list.
Attaching ss...
Please provide proper issue reproducing steps..
Comment #6
ikphilipI found this error except using module select_or_other 4.2.0 and Drupal 10.4.1.
Steps to Reproduce
Proposed Resolution
Adjust the code in
AllowedValuesConstraintValidator::validate()to more closely match the way it's done in Core.See Merge Request.
Comment #7
ikphilipComment #8
b-prod commented@ikphilip I tried the patch and it solves the issue, allowing to save the field successfully.
Comment #9
spadxiii commentedquick note: the fail in the pipeline is a risky test. Otherwise it passes all tests.
Patch applies cleanly to 4.2.0 and seems to work just fine.
Comment #10
ivnishNeeds to check why one test failed
Comment #11
ikphilipListWidgetTest::massageFormValuesAddsNewValuesToAllowedValues had no assertions. This is resolved in the MR.
Comment #13
ivnish