Fixed
Details
Details
Assignee
Unassigned
UnassignedClient
Integrated Marijn
Integrated MarijnProduct owner
Marijn Otte
Marijn OtteOriginal estimate
4h 45m
Sprint
None
Fix versions
Parent
OTM informatie
OTM informatie
Created February 5, 2017 at 2:13 PM
Updated November 24, 2017 at 2:38 PM
Resolved May 8, 2017 at 6:46 PM
Steps to reproduce
Add a theme to your Integrated installation
Assign the theme to a website
Add a page to the website
Remove the theme from your Integrated installation
Result: exception on all pages of the channel. In this case the default theme should be used automatically
InvalidArgumentException in ThemeManager.php line 122:
Theme "thompson" not exists.
in ThemeManager.php line 122
at ThemeManager->setActiveTheme('thompson') in WebsiteConfigurationListener.php line 91
at WebsiteConfigurationListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
at call_user_func(array(object(WebsiteConfigurationListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in WrappedListener.php line 61
at WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
at call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in WrappedListener.php line 61
at WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
Requirements
Removing a theme or removing a base view from a theme shouldn't throw an exception, but should fallback to the default theme, default base view
Don't store the full path of a view, so changing a theme should affect all pages automatically