ctools_views exposes settings from the view into the views placement context, e.g. layout builder or like here entity_extra_field block field type. When contextual arguments are enabled (needs patch from #2759445-37: How to manually pass an argument to a views block through interface β ), we get a WSOD on saving the extra field form, see below.
- Install ctools_views
- Install patch from
#2759445-37: How to manually pass an argument to a views block through interface β
- Go to any views block and enable contextual filter to be exposed (middle column)
- Go to /admin/structure/types/manage/article/extra-fields/add
- Select field type block
- Choose views block from step 3
- Save field and see WSOD
The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">Drupal\Core\Config\UnsupportedDataTypeConfigException</em>: Invalid data type for config element entity_extra_field.extra_field.node.article.test:field_type_config.block_config.override.arguments.id.plugin in <em class="placeholder">Drupal\Core\Config\StorableConfigBase->validateValue()</em> (line <em class="placeholder">160</em> of <em class="placeholder">core/lib/Drupal/Core/Config/StorableConfigBase.php</em>). <pre class="backtrace">Drupal\Core\Config\StorableConfigBase->validateValue('field_type_config.block_config.override.arguments.id', Array) (Line: 156)
Drupal\Core\Config\StorableConfigBase->validateValue('field_type_config.block_config.override.arguments', Array) (Line: 156)
Drupal\Core\Config\StorableConfigBase->validateValue('field_type_config.block_config.override', Array) (Line: 184)
Drupal\Core\Config\StorableConfigBase->castValue('field_type_config.block_config.override', Array) (Line: 211)
Drupal\Core\Config\StorableConfigBase->castValue('field_type_config.block_config', Array) (Line: 211)
Drupal\Core\Config\StorableConfigBase->castValue('field_type_config', Array) (Line: 212)
Drupal\Core\Config\Config->save() (Line: 284)
Drupal\Core\Config\Entity\ConfigEntityStorage->doSave('node.article.test', Object) (Line: 457)
Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 263)
Drupal\Core\Config\Entity\ConfigEntityStorage->save(Object) (Line: 394)
Drupal\Core\Entity\EntityBase->save() (Line: 613)
Drupal\Core\Config\Entity\ConfigEntityBase->save() (Line: 296)
Drupal\Core\Entity\EntityForm->save(Array, Object) (Line: 261)
Drupal\entity_extra_field\Form\EntityExtraFieldForm->save(Array, Object)
call_user_func_array(Array, Array) (Line: 111)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 590)
Drupal\Core\Form\FormBuilder->processForm('entity_extra_field_add_form', Array, Object) (Line: 319)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 93)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 582)
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: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 693)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
</pre>
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.