Cannot access "admin/bat/config/types"

Created on 5 July 2023, over 1 year ago
Updated 31 August 2023, over 1 year ago

Problem/Motivation

Followed the docs : https://roomify.github.io/docs/bat/index.html and on some point can't make it work.

Steps to reproduce

Simply followed the docs and on the step when I have to add Types, I cannot.

https://roomify.github.io/docs/bat/drupal/types.html -> "Visit admin/bat/config/types and click on Add A Type."

I get page not found. I found something similar in Bat->Unit->Types list and after it url is /admin/bat/config/unit_type but when I click on Add Type here I get white page and error " The website encountered an unexpected error. Please try again later. "

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Closed: won't fix

Component

Documentation

Created by

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

Comments & Activities

  • Issue created by @nblack69
  • ๐Ÿ‡ฎ๐Ÿ‡นItaly afagioli Rome

    On latest BAT, you can add type from "/admin/bat/config/unit_type"

  • Status changed to Needs review over 1 year ago
  • ๐Ÿ‡ฎ๐Ÿ‡นItaly afagioli Rome
  • ๐Ÿ‡ท๐Ÿ‡บRussia ScorpionGhost

    Exactly the same problem:

    Drupal.site/admin/bat/config/unit_type/add

    rror: Call to undefined function Drupal\bat_unit\bat_type_access() ะฒ Drupal\bat_unit\UnitTypeAccessControlHandler->checkCreateAccess() (ัั‚ั€ะพะบะฐ 40 ะธะท Drupal.site\web\modules\contrib\bat\modules\bat_unit\src\UnitTypeAccessControlHandler.php)
    #0 Drupal.site\web\core\lib\Drupal\Core\Entity\EntityAccessControlHandler.php(262): Drupal\bat_unit\UnitTypeAccessControlHandler->checkCreateAccess()
    #1 Drupal.site\web\modules\contrib\bat\modules\bat_unit\src\Controller\TypeController.php(43): Drupal\Core\Entity\EntityAccessControlHandler->createAccess()
    #2 [internal function]: Drupal\bat_unit\Controller\TypeController->addPage()
    #3 Drupal.site\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
    #4 Drupal.site\web\core\lib\Drupal\Core\Render\Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
    #5 Drupal.site\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
    #6 Drupal.site\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
    #7 Drupal.site\vendor\symfony\http-kernel\HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
    #8 Drupal.site\vendor\symfony\http-kernel\HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
    #9 Drupal.site\web\core\lib\Drupal\Core\StackMiddleware\Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
    #10 Drupal.site\web\core\lib\Drupal\Core\StackMiddleware\KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
    #11 Drupal.site\web\core\modules\page_cache\src\StackMiddleware\PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
    #12 Drupal.site\web\core\modules\page_cache\src\StackMiddleware\PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
    #13 Drupal.site\web\core\lib\Drupal\Core\StackMiddleware\ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
    #14 Drupal.site\web\core\lib\Drupal\Core\StackMiddleware\NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
    #15 Drupal.site\vendor\stack\builder\src\Stack\StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
    #16 Drupal.site\web\core\lib\Drupal\Core\DrupalKernel.php(718): Stack\StackedHttpKernel->handle()
    #17 Drupal.site\web\index.php(19): Drupal\Core\DrupalKernel->handle()
    #18 {main}

  • ๐Ÿ‡ฎ๐Ÿ‡นItaly afagioli Rome

    Currenlty, there's no active support for https://roomify.github.io/docs/bat

  • Status changed to Closed: won't fix over 1 year ago
  • ๐Ÿ‡ฎ๐Ÿ‡นItaly afagioli Rome
Production build 0.71.5 2024