Vorschau-Toolbar kann ein unveröffentlichtes Event nicht zur Vorschau bringen
akroii opened this issue · 0 comments
akroii commented
Hallo Alexander,
wenn ich das Event-Modul via "Modifizierer" verändere und eine Veranstaltung unveröffentlicht lasse und zur Vorschau bringe erscheint eine 404.
Schritte zum reproduzieren:
Baue eine Veranstaltung und lasse Sie unveröffentlicht. Schalte dich per Catalog Master "Modifizierer" auf tl_calendar_events. Klicke auf Vorschau und in der Toolbar im Frontend klicke bei "Nicht veröffentlicht:" auf "anzeigen". -> Veranstaltung müsste trotz dass sie unveröffentlicht ist sichtbar sein.
Für die Detailseite wird der ### CATALOG DETAILANSICHT ### verwendet.
C: 4.9.33
CM: 1.32.14
Stacktrace:
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
Page not found: https://ds-cccccc.ddev.site/preview.php/kardiologie-ldl-senken-vorhofflimmern-veranstaltungen/event/masterclass-2023-lipidmanagement-und-antikoagulation-kardiovaskulaere-praevention-im-fokus.html
at vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:97
at Contao\CoreBundle\EventListener\ExceptionConverterListener->convertToHttpException(object(PageNotFoundException), 'NotFoundHttpException')
(vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:68)
at Contao\CoreBundle\EventListener\ExceptionConverterListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
(vendor/symfony/event-dispatcher/EventDispatcher.php:264)
at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(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:239)
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:73)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
(vendor/symfony/http-kernel/HttpKernel.php:229)
at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(PageNotFoundException), object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:92)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:201)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/preview.php:33)
und
Contao\CoreBundle\Exception\PageNotFoundException:
Page not found: https://ds-cccccc.ddev.site/preview.php/kardiologie-ldl-senken-vorhofflimmern-veranstaltungen/event/masterclass-2023-lipidmanagement-und-antikoagulation-kardiovaskulaere-praevention-im-fokus.html
at vendor/alnv/catalog-manager/library/alnv/CatalogException.php:12
at CatalogManager\CatalogException->set404()
(vendor/alnv/catalog-manager/library/alnv/Modules/ModuleMasterView.php:103)
at CatalogManager\ModuleMasterView->compile()
(vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:214)
at Contao\Module->generate()
(vendor/alnv/catalog-manager/library/alnv/Modules/ModuleMasterView.php:44)
at CatalogManager\ModuleMasterView->generate()
(vendor/contao/core-bundle/src/Resources/contao/elements/ContentModule.php:101)
at Contao\ContentModule->generate()
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:624)
at Contao\Controller::getContentElement(object(ContentModel), 'main')
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:218)
at Contao\ModuleArticle->compile()
(vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:214)
at Contao\Module->generate()
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:71)
at Contao\ModuleArticle->generate(false)
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:552)
at Contao\Controller::getArticle(object(ArticleModel), false, false, 'main')
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:393)
at Contao\Controller::getFrontendModule(0, 'main')
(vendor/fritzmg/contao-inherit-article/src/EventListener/InheritArticleListener.php:50)
at InheritArticleBundle\EventListener\InheritArticleListener->getRenderedInheritedArticles(19, 'main')
(vendor/fritzmg/contao-inherit-article/src/EventListener/InheritArticleListener.php:41)
at InheritArticleBundle\EventListener\InheritArticleListener->onGetArticles(19, 'main')
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:348)
at Contao\Controller::getFrontendModule('0', 'main')
(vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:173)
at Contao\PageRegular->prepare(object(PageModel))
(vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:53)
at Contao\PageRegular->getResponse(object(PageModel), true)
(vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:343)
at Contao\FrontendIndex->renderPage(object(PageModel))
(vendor/symfony/http-kernel/HttpKernel.php:169)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:81)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:201)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/preview.php:33)