- 🇦🇺Australia acbramley
IMO this is not a bug, this is just providing a new UI to see moderated block content entities? Re-categorising to a FR. I also personally don't see much use for these screens (none of my client projects use these views) so downgrading the Priority.
Also needs a reroll onto an MR.
- 🇮🇳India prem suthar Ahemdabad- Gujrat , Jodhpur - Rajsthan
prem suthar → made their first commit to this issue’s fork.
- 🇮🇳India prem suthar Ahemdabad- Gujrat , Jodhpur - Rajsthan
After applying the Merge Request (MR), I tested the patched code locally. When I navigated to the Moderated Blocks page (Content → Blocks → Moderated Blocks or "/admin/structure/block/block-content/moderated"), I encountered an error.
The website encountered an unexpected error. Try again later. TypeError: Drupal\Core\Cache\CacheableMetadata::setCacheTags(): Argument #1 ($cache_tags) must be of type array, null given, called in /var/www/html/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php on line 2416 in Drupal\Core\Cache\CacheableMetadata->setCacheTags() (line 29 of core/lib/Drupal/Core/Cache/CacheableMetadata.php). Drupal\views\Plugin\views\display\DisplayPluginBase->getCacheMetadata() (Line: 228) Drupal\views\Plugin\views\cache\CachePluginBase->generateResultsKey() (Line: 148) Drupal\views\Plugin\views\cache\CachePluginBase->cacheGet() (Line: 1479) Drupal\views\ViewExecutable->execute() (Line: 1514) Drupal\views\ViewExecutable->render() (Line: 201) Drupal\views\Plugin\views\display\Page->execute() (Line: 1690) Drupal\views\ViewExecutable->executeDisplay() (Line: 80) Drupal\views\Element\View::preRenderViewElement() call_user_func_array() (Line: 107) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 825) Drupal\Core\Render\Renderer->doCallback() (Line: 387) Drupal\Core\Render\Renderer->doRender() (Line: 203) Drupal\Core\Render\Renderer->render() (Line: 241) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 593) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 234) Drupal\Core\Render\MainContent\HtmlRenderer->prepare() (Line: 131) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray() (Line: 246) Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}() (Line: 206) Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (Line: 56) Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (Line: 188) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 116) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 90) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 53) Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 709) Drupal\Core\DrupalKernel->handle() (Line: 19)