- Issue created by @wim leers
- Merge request !6650Resolve #3421993 "Primitivetypeconstraintvalidator vs configschemachecker" β (Open) created by wim leers
- Issue was unassigned.
- Status changed to Needs review
10 months ago 5:16pm 16 February 2024 - Status changed to Needs work
10 months ago 7:49pm 16 February 2024 - πΊπΈUnited States smustgrave
Did not test but seems there is a failing kernel test.
- πΊπΈUnited States phenaproxima Massachusetts
smustgrave β credited phenaproxima β .
- πΊπΈUnited States smustgrave
Crediting phenaproxima for the reviews on the MR.
- Status changed to Needs review
10 months ago 3:09pm 19 February 2024 - πΊπΈUnited States smustgrave
So the feedback appears addressed but will leave for @phenaproxima to take another look.
- πΊπΈUnited States phenaproxima Massachusetts
Looks pretty good but leaving at NR because I'm still not sure some of the commentary is as clear as it could/should be.
- Status changed to RTBC
9 months ago 8:10pm 16 March 2024 - π§πͺBelgium borisson_ Mechelen, π§πͺ
I think the comments are pretty good; in my opinion this is good to go.
- Status changed to Needs review
9 months ago 1:34pm 18 March 2024 - π¬π§United Kingdom alexpott πͺπΊπ
It's really different to be triggering deprecations in a test and then adding generic ignores. This feels wrong and very odd. I'm not really sure what we're communicating here.
- Status changed to RTBC
9 months ago 3:19pm 18 March 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
@alexpott did you see:
# Temporarily while updating PrimitiveTypeConstraintValidator and ConfigSchemaChecker to agree with each other. # @todo Remove in https://www.drupal.org/project/drupal/issues/3230826. %The `type: (string|boolean|float|int)` config schema type uses magical casting when saving.% %β οΈ The `type: boolean` config schema type uses magical casting for the string value `(no|test|false|)` that is inconsistent with the validation logic in Drupal\\Core\\Validation\\Plugin\\Validation\\Constraint\\PrimitiveTypeConstraintValidator.% %β οΈ The `type: (int|float)` config schema type uses magical casting for the string value `(55\%|)` that is inconsistent with the validation logic in Drupal\\Core\\Validation\\Plugin\\Validation\\Constraint\\PrimitiveTypeConstraintValidator.% %β οΈ The `type: (int|float)` config schema type uses magical casting for the boolean value `` that is inconsistent with the validation logic in Drupal\\Core\\Validation\\Plugin\\Validation\\Constraint\\PrimitiveTypeConstraintValidator.%
?
The reason this MR is adding generic ignores is to allow this issue to be tightly scoped to ONLY documenting the current behavior in explicit tests. That then enables π Expose API to sort arbitrary config arrays Needs work to remove the magic (i.e. not just documenting current behavior, but making it consistent), modify the expectations of the tests added here, and remove the generic ignores.
The generic ignores do not negatively impact anyone? But they do allow this pure-test-coverage issue to help unblock the much more complex π Expose API to sort arbitrary config arrays Needs work π
- Status changed to Needs work
9 months ago 5:21am 21 March 2024 The Needs Review Queue Bot β tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.