- πΊπΈUnited States smustgrave
This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request β as a guide.
Ran the tests locally without to the fix to make sure they failed. The response was really long but did fail
Caused by ErrorException: Method "IteratorAggregate::getIterator()" might add "\Traversable" as a native return type declaration in the future. Do the same in implementation "Drupal\Core\Entity\ContentEntityBase" now to avoid errors or add an explicit @return annotation to suppress this message.
shouldn't we also test whether the errors are logged?
If that's something you want to test you could probably query the database.
Will move to NW for that but if it's actually not needed please send back.
Everything else looks good.
- π¬π·Greece s.messaris
s.messaris β made their first commit to this issueβs fork.
- last update
over 1 year ago 30,341 pass - last update
over 1 year ago Custom Commands Failed - @smessaris opened merge request.
- last update
over 1 year ago 29,824 pass, 2 fail - Status changed to Needs review
over 1 year ago 2:36pm 20 July 2023 - π¬π·Greece s.messaris
Rerolled for 11.x and added the missing test scenarios
- Status changed to Needs work
over 1 year ago 2:43pm 20 July 2023 - last update
over 1 year ago 29,823 pass, 1 fail - last update
over 1 year ago 29,826 pass - π¬π·Greece s.messaris
Wasn't the reroll, was the new test I added, I fixed it. Got an unrelated fail though, seems random, trying again.
- Status changed to Needs review
over 1 year ago 6:48pm 20 July 2023 - π¬π·Greece s.messaris
Test bot seems to like this after all, back to review :)
- Status changed to RTBC
over 1 year ago 12:55pm 24 July 2023 - πΊπΈUnited States smustgrave
Change looks good but I imagine there may be some pushback on
$logged = Database::getConnection()->select('watchdog')
But not sure if there's a trait that can be used but will see
Good work everyone!
- π¬π·Greece s.messaris
@smustgrave I found it used like that 10 times across 4 files, not including the new addition, that's why I did it this way.
core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php
core/modules/dblog/tests/src/Functional/DbLogTest.php
core/modules/dblog/tests/src/Kernel/DbLogTest.php
core/modules/system/tests/src/Functional/Form/StorageTest.php - πΊπΈUnited States smustgrave
Have no issue with it. Just have seen that get kicked back before.
- last update
over 1 year ago 29,873 pass, 2 fail - last update
over 1 year ago 29,879 pass - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Hiding patches and updating issue credits
-
larowlan β
committed 720d213c on 10.1.x
Issue #3261663 by s.messaris, DieterHolvoet, ShaunDychko, smustgrave,...
-
larowlan β
committed 720d213c on 10.1.x
-
larowlan β
committed 98618df7 on 11.x
Issue #3261663 by s.messaris, DieterHolvoet, ShaunDychko, smustgrave,...
-
larowlan β
committed 98618df7 on 11.x
- Status changed to Fixed
over 1 year ago 9:57pm 26 July 2023 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Committed 98618df and pushed to 11.x. Thanks!
Backported to 10.1.x as this is an important security fix.
Added π Move \Drupal\Tests\system\Functional\Module\ModuleTestBase::assertLogMessage to a trait Needs work as a followup
Automatically closed - issue fixed for 2 weeks with no activity.