Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug]: Twig Components not working with TwigEnvironmentConfigurator #18884

@la-lisa

Description

@la-lisa

Pimcore version

11.5.13

Steps to reproduce

Update to pimcore version 11.5.13

Using Symfony UX Twig Components does not work with new TwigEnvironmentConfigurator because it should be instance of EnvironmentConfigurator.

Image

Symfony\UX\TwigComponent\Twig\TwigEnvironmentConfigurator::__construct(): Argument #1 ($decorated) must be of type Symfony\Bundle\TwigBundle\DependencyInjection\Configurator\EnvironmentConfigurator, Pimcore\Twig\TwigEnvironmentConfigurator given

Actual Behavior

Bug Introduced [Bugfix]: mark editables anywhere in Twig as "safe" (#18620)

Error when using TwigComponents

Expected Behavior

TwigComponents should work with newest release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions