Cannot access Block, Field UI, Views UI config pages when Config Enforce Devel is enabled

Created on 29 April 2024, 2 months ago
Updated 7 June 2024, 23 days ago

Problem/Motivation

We cannot access the Block config page when Config Enforce Devel is enabled.

Steps to reproduce

1. Enable Block
2. Enable Config Enforce Devel
3. Visit /admin/structure/block
4. Observe a WSOD:

The website encountered an unexpected error. Try again later.

TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class Drupal\block\BlockListBuilder does not have a method "loadDefaultValuesFromConfig" in call_user_func_array() (line 1013 of core/lib/Drupal/Core/Form/FormBuilder.php).

Drupal\Core\Form\FormBuilder->doBuildForm('block_admin_display_form', Array, Object) (Line: 1076)
Drupal\Core\Form\FormBuilder->doBuildForm('block_admin_display_form', Array, Object) (Line: 579)
Drupal\Core\Form\FormBuilder->processForm('block_admin_display_form', Array, Object) (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 224)
Drupal\Core\Form\FormBuilder->getForm(Object) (Line: 114)
Drupal\block\BlockListBuilder->render('olivero', Object) (Line: 60)
Drupal\block\Controller\BlockListController->listing('olivero', Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Proposed resolution

TBD

Remaining tasks

TBD

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada ergonlogic MontrΓ©al, QuΓ©bec πŸ‡¨πŸ‡¦

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024