Where is the 4.x development branch?

Created on 1 February 2023, over 1 year ago
Updated 3 February 2023, over 1 year ago

Problem/Motivation

I installed 4.0-alpha2 to test on Drupal 10.

When I went to the reports page, I got a WSOD:

Class: Drupal\Core\Entity\Query\QueryException
Message: Entity queries must explicitly set whether the query should be access checked or not. See Drupal\Core\Entity\Query\QueryInterface::accessCheck().
File: /var/www/html/web/core/lib/Drupal/Core/Entity/Query/Sql/Query.php
Line number: 141
Stack trace:
#0 /var/www/html/web/core/lib/Drupal/Core/Entity/Query/Sql/Query.php(80): Drupal\Core\Entity\Query\Sql\Query->prepare() #1 /var/www/html/submodules/testing-modules/web/modules/contrib/site_audit/src/Plugin/SiteAuditCheck/ContentEntityTypes.php(100): Drupal\Core\Entity\Query\Sql\Query->execute() #2 /var/www/html/submodules/testing-modules/web/modules/contrib/site_audit/src/Plugin/SiteAuditCheckBase.php(272): Drupal\site_audit\Plugin\SiteAuditCheck\ContentEntityTypes->calculateScore() #3 /var/www/html/submodules/testing-modules/web/modules/contrib/site_audit/src/Plugin/SiteAuditReportBase.php(124): Drupal\site_audit\Plugin\SiteAuditCheckBase->getScore() #4 /var/www/html/web/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(25): Drupal\site_audit\Plugin\SiteAuditReportBase->__construct(Array, 'content', Array) #5 /var/www/html/web/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(83): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('content', Array) #6 /var/www/html/submodules/testing-modules/web/modules/contrib/site_audit/src/Controller/SiteAuditController.php(83): Drupal\Component\Plugin\PluginManagerBase->createInstance('content') #7 [internal function]: Drupal\site_audit\Controller\SiteAuditController->audit() #8 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #9 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\@closure() #10 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #11 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #12 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(163): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\@closure() #13 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(74): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #14 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #16 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #17 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #18 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(680): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #23 @main

So I checked out the 4.x branch to fix this and submit an MR... but the 4.x branch's most recent commit on Jan 24 (3d0d993111bc9d720bfc1dbc96aceee37486a89a) doesn't have d10 compatibility in site_audit.info.yml and won't install. So 4.0-alpha2 appears to have been generated from different code than the code on Drupal.org? Where is the correct dev branch for the 4.x series?

πŸ’¬ Support request
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡―πŸ‡΅Japan ptmkenny

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024