- Issue created by @berdir
- π¨πSwitzerland berdir Switzerland
Confirmed that it's apparently only the "foo is not a directory" message that's not an error.
- ππΊHungary mxr576 Hungary
I have also run into this problem that an error only appeared on STDOUT and not on STDERR but that has not been reported by Recipe installer.
- ππΊHungary mxr576 Hungary
With original implementation it was extremely painful for us figuring out that part of the Drupal 11.2.0 update an assert breaks in our code since the assertion error was only visible on stdout. "Failed asserting that 1 is identical to 0." was also not really helpful, so it got also improved in the MR.
STDOUT: [notice] A backup checkpoint was not created because nothing has changed since the "Backup before the 'Foo' recipe." checkpoint was created. AssertionError: assert(property_exists($index, 'original')) in assert() (line 51 of /mnt/files/local_mount/drupal/modules/foo/src/Bar.php). STDERR: 0/7 [ββββββββββββββββββββββββββββ] Applying recipe 1/7 [ββββββββββββββββββββββββββββ] Installed Image module. 2/7 [ββββββββββββββββββββββββββββ] Installed Comment module. 3/7 [ββββββββββββββββββββββββββββ] Installed Database Search module. 4/7 [ββββββββββββββββββββββββββββ] Installed Database Search Defaults module. Failed asserting that 1 is identical to 0. /mnt/files/local_mount/build/web/core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeTestTrait.php:89 /mnt/files/local_mount/drupal/recipes/Foo/tests/src/Funtional/BarTest.php:54
- ππΊHungary mxr576 Hungary
The patch saved the day today again, because it helped with identifying a missing dependency inside a recipe that was completely hidden before the patch, what we have seen is just 1 !== 0 and recipe application failed.
Process exit code mismatch. Expected: 0 Actual: 1 STDOUT: Error: Call to a member function getConfigDependencyName() on null in Drupal\Core\Entity\EntityDisplayBase->calculateDependencies() (line 302 of /var/www/html/build/web/core/lib/Drupal/Core/Entity/EntityDisplayBase.php).
-
alexpott β
committed c70b7685 on 11.2.x
Issue #3486481 by mxr576, berdir: Recipe install command prints out to...
-
alexpott β
committed c70b7685 on 11.2.x
- π¬π§United Kingdom alexpott πͺπΊπ
-
alexpott β
committed edbbe5c1 on 11.x
Issue #3486481 by mxr576, berdir: Recipe install command prints out to...
-
alexpott β
committed edbbe5c1 on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.