MetaModels/core

Error 500 is key "language" at filter rule select

zonky2 opened this issue · 2 comments

zonky2 commented

if I change the key e.g. to lng works fine...

Contao\CoreBundle\Exception\PageNotFoundException:
Page not found: https://domain.org/de/publikationen/language/deutsch

  at vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:253
  at Contao\FrontendIndex->renderPage(object(PageModel))
     (vendor/contao/core-bundle/src/Controller/Page/ErrorPageController.php:46)
  at Contao\CoreBundle\Controller\Page\ErrorPageController->__invoke(object(PageModel))
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false)
     (vendor/contao/core-bundle/src/EventListener/PrettyErrorScreenListener.php:169)
  at Contao\CoreBundle\EventListener\PrettyErrorScreenListener->renderErrorScreenByType(404, object(ExceptionEvent))
     (vendor/contao/core-bundle/src/EventListener/PrettyErrorScreenListener.php:106)
  at Contao\CoreBundle\EventListener\PrettyErrorScreenListener->handleException(object(ExceptionEvent))
     (vendor/contao/core-bundle/src/EventListener/PrettyErrorScreenListener.php:79)
  at Contao\CoreBundle\EventListener\PrettyErrorScreenListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (vendor/symfony/http-kernel/HttpKernel.php:223)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(PageNotFoundException), object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:86)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:44)  

C 4.13.34 PHP 8.1 MM 2.3

zonky2 commented

We add a workaround in MM 2.3 for special key language and change this to language__.

zonky2 commented

... and key items to items__