- Issue created by @phenaproxima
- Status changed to Needs review
7 months ago 8:45pm 14 May 2024 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I think we can just return a non zero int instead of throwing
- πΊπΈUnited States phenaproxima Massachusetts
Sure, that works too! Done.
- First commit to issue fork.
- Status changed to Needs work
7 months ago 4:08am 15 May 2024 - πΊπΈUnited States nicxvan
This looks good, but I'm not sure the test is actually working.
For some reason I can't run the test only job, but I pulled the branch down to run it without the return and the tests still pass.
It took a bit of effort due to the phpunit 10 update, but I needed to handle that eventually.
If someone that has permission can run the test only job that might confirm my local findings.
- Status changed to Needs review
7 months ago 9:14am 15 May 2024 - π¬π§United Kingdom alexpott πͺπΊπ
I think the claim that
The problem is that...it outputs the error, then continues executing! This leads to buggy behavior.
Is actually incorrect. What happens now is that an exception is thrown when we call
$recipe = Recipe::createFromDirectory($recipe_path);
... there's no buggy behaviour at all. The exception comes from \Drupal\Core\Recipe\Recipe::parse() so very early on. And the exception message is accurate too. - π¬π§United Kingdom alexpott πͺπΊπ
FWIW the test now fails when run without the fix. https://git.drupalcode.org/project/drupal/-/jobs/1598345
- Status changed to RTBC
7 months ago 1:05pm 15 May 2024 -
larowlan β
committed 7437958d on 10.3.x
Issue #3447198 by phenaproxima, alexpott, nicxvan, larowlan:...
-
larowlan β
committed 7437958d on 10.3.x
-
larowlan β
committed 58cd9ce0 on 10.4.x
Issue #3447198 by phenaproxima, alexpott, nicxvan, larowlan:...
-
larowlan β
committed 58cd9ce0 on 10.4.x
-
larowlan β
committed d2006365 on 11.0.x
Issue #3447198 by phenaproxima, alexpott, nicxvan, larowlan:...
-
larowlan β
committed d2006365 on 11.0.x
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Committed to 11.x, backported to 11.0.x, 10.4.x and 10.3.x
-
larowlan β
committed 389c2bee on 11.x
Issue #3447198 by phenaproxima, alexpott, nicxvan, larowlan:...
-
larowlan β
committed 389c2bee on 11.x
- πΊπΈUnited States xjm
Added this to the 10.3.0-rc1 and 11.0.0-beta2 release notes drafts, since we're treating Recipes as stable-ish internal API rather than experimental, so fixing things broken with it before the stable releases is valuable info to early testers.
Automatically closed - issue fixed for 2 weeks with no activity.