The weekly pipeline runs failed as at 11 August 2025.

https://git.drupalcode.org/project/entity_route_context/-/jobs/7854193

The error produced is mind bending:

1) Drupal\Tests\entity_route_context\Kernel\EntityRouteContextTest::testBlockAccess
Error: Call to a member function set() on null

/data/app/core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php:72
/data/app/core/lib/Drupal/Core/Extension/ModuleHandler.php:460
/data/app/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:389
/data/app/core/lib/Drupal/Core/Entity/EntityTypeManager.php:123
/data/app/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:216
/data/app/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php:25
/data/app/core/lib/Drupal/Core/Entity/EntityTypeManager.php:132
/data/app/core/tests/Drupal/KernelTests/KernelTestBase.php:814
/data/app/modules/extra/entity_route_context/tests/src/Kernel/EntityRouteContextTest.php:30

Traced a changelog entry https://www.drupal.org/node/3539877

For #2786355: Convert multiple provider plugin work from migrate into plugin dependencies in core.

Luckily, a couple of days ago, @m.stenta provided a really good clue.

Turns out using entity_test requires user module to be enabled.

--

Also driveby fix a for some annotation->attribute deprecations

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dpi created an issue. See original summary.

dpi’s picture

Issue summary: View changes
dpi’s picture

Assigned: dpi » Unassigned
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

dpi’s picture

Changes here do not affect runtime so not planning a new release yet.

  • dpi committed 9f357e1d on 4.x
    feat: #3565777 Fix tests with Drupal 11.3 and above
    
    By: dpi
    By: m....

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.