- Issue created by @g089h515r806
-
g089h515r806 β
committed 6a3ffce2 on 3.0.x
Issue #3382109 by g089h515r806: Add support for Symfony Isin Constraint
-
g089h515r806 β
committed 6a3ffce2 on 3.0.x
- π¨π³China g089h515r806
manual test case:
1) add a Isin constraint to field_test, save it.if populate field_test "123456", get an error message.
if populate field_test "US0378331005", get fatal error:
InvalidArgumentException: The passed value must be a typed data object. in Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validate() (line 97 of core\lib\Drupal\Core\TypedData\Validation\RecursiveContextualValidator.php).
Drupal\Core\TypedData\Validation\RecursiveValidator->validate('30280378331005', Object) (Line: 79)
Symfony\Component\Validator\Constraints\IsinValidator->isCorrectChecksum('US0378331005') (Line: 63)
Symfony\Component\Validator\Constraints\IsinValidator->validate('US0378331005', Object) (Line: 116) -
g089h515r806 β
committed b76de23d on 3.0.x
Issue #3382109 by g089h515r806: Add support for Symfony Isin Constraint
-
g089h515r806 β
committed b76de23d on 3.0.x
- Status changed to Fixed
10 months ago 9:26am 21 August 2023 - π¨π³China g089h515r806
manual test case:
1) add a Isin constraint to field_test, save it.if populate field_test "123456", get an error message.
if populate field_test "US0378331005", no error message.
- π¨π³China g089h515r806
add a issue for symfony at github:
https://github.com/symfony/symfony/issues/51440 Automatically closed - issue fixed for 2 weeks with no activity.