- Issue created by @wim leers
- @wim-leers opened merge request.
- Issue was unassigned.
- Status changed to Needs reviewover 2 years ago 2:52pm 21 March 2023
- πΊπΈUnited States phenaproxima MassachusettsI like this. Once tests pass I see no real reason not to RTBC it. IMHO it might also make sense for the base class to always assert that property paths are passed as the keys, just so it's not possible to write a test that doesn't include the property paths. 
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊGlad you like it! IMHO it might also make sense for the base class to always assert that property paths are passed as the keys, just so it's not possible to write a test that doesn't include the property paths. True, but the assertSame()will make it crystal clear anyway, so I don't see the benefit of making test logic more complicated if it result in almost identical DX :)
- Status changed to RTBCover 2 years ago 6:55pm 21 March 2023
- πΊπΈUnited States smustgraveMarking it but only question is what if contrib modules are using ConfigEntityValidationTestBase. Will they now fail? 
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊIt has only existed in 10.1.xso hasn't shipped in any release at all yet β stable or otherwise! See β¨ Add validation constraints to config_entity.dependencies Fixed :)
- last updateover 2 years ago 29,283 pass
- last updateover 2 years ago 29,300 pass
- last updateover 2 years ago 29,302 pass
- last updateover 2 years ago 29,300 pass
- last updateover 2 years ago 29,361 pass
- last updateover 2 years ago 29,366 pass
- Status changed to Needs workover 2 years ago 4:07pm 30 April 2023
- π¬π§United Kingdom longwave UKI agree with @quietone, we should document what the keys and values mean in the array. 
- last updateover 2 years ago 29,388 pass
- Status changed to Needs reviewover 2 years ago 2:18pm 12 May 2023
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊGood call! π Done. I took advantage of π Update coder to 8.3.18 Fixed having landed a few days ago. That got Drupal core on https://www.drupal.org/project/coder/releases/8.3.18 β , which includes β¨ Support advanced PHPStan data types (general, arrays) Fixed . That means it's now far easier to clearly convey that key-value pairs are expected, and what the type should be of the keys vs the values. 
- Status changed to RTBCover 2 years ago 2:37pm 12 May 2023
- π§πͺBelgium borisson_ Mechelen, π§πͺThis documentation looks great! 
- last updateover 2 years ago 29,388 pass
- last updateover 2 years ago 29,388 pass
- last updateover 2 years ago 29,388 pass
- last updateover 2 years ago 29,388 pass
- Open on Drupal.org βEnvironment: PHP 8.1 & MySQL 5.7last updateover 2 years ago Waiting for branch to pass
- last updateover 2 years ago 29,396 pass
- last updateover 2 years ago 29,399 pass
- 51:51 - 48:17 Running
- last updateover 2 years ago 29,400 pass
- Status changed to Needs workover 2 years ago 1:28pm 1 June 2023
- πΊπΈUnited States bnjmnm Ann Arbor, MIA low stakes back to NW. Left two comments on the MR (one on an existing thread) that are simple enough that it would be fine to self-rtbc once addressed. 
- last updateover 2 years ago 29,398 pass, 2 fail
- Status changed to RTBCover 2 years ago 2:06pm 1 June 2023
- last updateover 2 years ago 29,402 pass
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊGreat catch, @bnjmnm! π Tried to create an11.xbranch, and failed:Failed to create branch '3349293-improve-ConfigEntityValidationTestBase-assertValidationErrors-11x': invalid reference name '11.x'.So continuing to push to the 10.1.xMR and posting a patch to test against11.x.
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊAlso, this literally just came up at #3364109-7: Configuration schema & required values: add test coverage for `nullable: true` validation support β ! See the test output at https://www.drupal.org/pift-ci-job/2681594: β 1) Drupal\KernelTests\Core\Entity\EntityFormDisplayValidationTest::testConfigDependenciesValidation with data set "valid dependency types" (array(array('system.site'), array('node:some-random-uuid'), array('system'), array('stark')), array()) Failed asserting that two arrays are identical. --- Expected +++ Actual @@ @@ -Array &0 () +Array &0 ( + 0 => 'This value should not be null.' +)not very helpful, right? π³ This fixes that: 1) Drupal\KernelTests\Core\Entity\EntityFormDisplayValidationTest::testConfigDependenciesValidation with data set "valid dependency types" (array(array('system.site'), array('node:some-random-uuid'), array('system'), array('stark')), array()) Failed asserting that two arrays are identical. --- Expected +++ Actual @@ @@ -Array &0 () +Array &0 ( + 'status' => 'This value should not be null.' +)π 
- 
            
              bnjmnm β
             committed 54fad06e on 11.x
Issue #3349293 by Wim Leers, phenaproxima, smustgrave, longwave, bnjmnm... 
 
- 
            
              bnjmnm β
             committed 54fad06e on 11.x
- 
            
              bnjmnm β
             committed c5a3011f on 10.1.x
Issue #3349293 by Wim Leers, phenaproxima, smustgrave, longwave, bnjmnm... 
 
- 
            
              bnjmnm β
             committed c5a3011f on 10.1.x
- πΊπΈUnited States bnjmnm Ann Arbor, MIGood stuff here π. 
 Committed to 11.x and cherry-picked to 10.1.x.
 πββοΈ
- Status changed to Fixedover 2 years ago 3:15pm 1 June 2023
- Automatically closed - issue fixed for 2 weeks with no activity.