-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
In Contao Module Layout all changes taken by Bootstrap Core in combination with Bootstrap Layout are reverted when I also install the Contao Marketing Suite.
I am using Contao 5.3 and the newest Bundles for the Marketing Suite and Contao Bootstrap.
I found, that in ContaoBootstrap\Core\Listener\Dca\LayoutDcaListener the Environment is loosing its context.
So I added the following code to the Environment constructor:
if ($this->context === null) {
$context = ApplicationContext::create();
$this->switchContext($context);
}and it works.
I guess, this is only a work around and you have to do some deeper checks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels