Es erscheint folgende Fehlermeldung sobald man beim Filterelement die Option "multiple" aktiviert.
Unable to transform value for property path "[groups]": Expected an array.
Stack Trace
1/2
Symfony\Component\Form\Exception\TransformationFailedException:
Expected an array.
at vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataTransformer/ChoicesToValuesTransformer.php:42
at Symfony\Component\Form\Extension\Core\DataTransformer\ChoicesToValuesTransformer->transform(1)
(vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:1104)
at Symfony\Component\Form\Form->normToView(1)
(vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:350)
at Symfony\Component\Form\Form->setData(1)
(vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php:49)
at Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper->mapDataToForms(array('f_id' => '1', 'f_ref' => 'https://domain.tld/app_dev.php/auflistung.html', 'groups' => 1), object(RecursiveIteratorIterator))
(vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:383)
at Symfony\Component\Form\Form->setData(array('f_id' => '1', 'f_ref' => 'https://domain.tld/app_dev.php/auflistung.html', 'groups' => 1))
(vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:487)
at Symfony\Component\Form\Form->initialize()
(vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php:226)
at Symfony\Component\Form\FormBuilder->getForm()
(vendor/heimrichhannot/contao-filter-bundle/src/Config/FilterConfig.php:525)
at HeimrichHannot\FilterBundle\Config\FilterConfig->mapFormsToData()
(vendor/heimrichhannot/contao-filter-bundle/src/Config/FilterConfig.php:148)
at HeimrichHannot\FilterBundle\Config\FilterConfig->buildForm(array('f_id' => '1', 'f_ref' => 'https://domain.tld/app_dev.php/auflistung.html', 'groups' => 1))
(vendor/heimrichhannot/contao-filter-bundle/src/Module/ModuleFilter.php:66)
at HeimrichHannot\FilterBundle\Module\ModuleFilter->compile()
(vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:220)
at Contao\Module->generate()
(vendor/heimrichhannot/contao-filter-bundle/src/Module/ModuleFilter.php:55)
at HeimrichHannot\FilterBundle\Module\ModuleFilter->generate()
(vendor/contao/core-bundle/src/Resources/contao/elements/ContentModule.php:68)
at Contao\ContentModule->generate()
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:480)
at Contao\Controller::getContentElement(object(ContentModel), 'main')
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:183)
at Contao\ModuleArticle->compile()
(vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:220)
at Contao\Module->generate()
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:65)
at Contao\ModuleArticle->generate(false)
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:420)
at Contao\Controller::getArticle(object(ArticleModel), false, false, 'main')
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:279)
at Contao\Controller::getFrontendModule('0', 'main')
(vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:174)
at Contao\PageRegular->prepare(object(PageModel))
(vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:47)
at Contao\PageRegular->getResponse(object(PageModel), true)
(vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:306)
at Contao\FrontendIndex->renderPage(object(Collection))
(vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:75)
at Contao\FrontendIndex->run()
(vendor/contao/core-bundle/src/Controller/FrontendController.php:42)
at Contao\CoreBundle\Controller\FrontendController->indexAction()
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/app_dev.php:64)
2/2
Symfony\Component\Form\Exception\TransformationFailedException:
Unable to transform value for property path "[groups]": Expected an array.
at vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:1107
at Symfony\Component\Form\Form->normToView(1)
(vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:350)
at Symfony\Component\Form\Form->setData(1)
(vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php:49)
at Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper->mapDataToForms(array('f_id' => '1', 'f_ref' => 'https://domain.tld/app_dev.php/auflistung.html', 'groups' => 1), object(RecursiveIteratorIterator))
(vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:383)
at Symfony\Component\Form\Form->setData(array('f_id' => '1', 'f_ref' => 'https://domain.tld/app_dev.php/auflistung.html', 'groups' => 1))
(vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:487)
at Symfony\Component\Form\Form->initialize()
(vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php:226)
at Symfony\Component\Form\FormBuilder->getForm()
(vendor/heimrichhannot/contao-filter-bundle/src/Config/FilterConfig.php:525)
at HeimrichHannot\FilterBundle\Config\FilterConfig->mapFormsToData()
(vendor/heimrichhannot/contao-filter-bundle/src/Config/FilterConfig.php:148)
at HeimrichHannot\FilterBundle\Config\FilterConfig->buildForm(array('f_id' => '1', 'f_ref' => 'https://domain.tld/app_dev.php/auflistung.html', 'groups' => 1))
(vendor/heimrichhannot/contao-filter-bundle/src/Module/ModuleFilter.php:66)
at HeimrichHannot\FilterBundle\Module\ModuleFilter->compile()
(vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:220)
at Contao\Module->generate()
(vendor/heimrichhannot/contao-filter-bundle/src/Module/ModuleFilter.php:55)
at HeimrichHannot\FilterBundle\Module\ModuleFilter->generate()
(vendor/contao/core-bundle/src/Resources/contao/elements/ContentModule.php:68)
at Contao\ContentModule->generate()
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:480)
at Contao\Controller::getContentElement(object(ContentModel), 'main')
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:183)
at Contao\ModuleArticle->compile()
(vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:220)
at Contao\Module->generate()
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:65)
at Contao\ModuleArticle->generate(false)
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:420)
at Contao\Controller::getArticle(object(ArticleModel), false, false, 'main')
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:279)
at Contao\Controller::getFrontendModule('0', 'main')
(vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:174)
at Contao\PageRegular->prepare(object(PageModel))
(vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:47)
at Contao\PageRegular->getResponse(object(PageModel), true)
(vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:306)
at Contao\FrontendIndex->renderPage(object(Collection))
(vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:75)
at Contao\FrontendIndex->run()
(vendor/contao/core-bundle/src/Controller/FrontendController.php:42)
at Contao\CoreBundle\Controller\FrontendController->indexAction()
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/app_dev.php:64)
Es erscheint folgende Fehlermeldung sobald man beim Filterelement die Option "multiple" aktiviert.
Unable to transform value for property path "[groups]": Expected an array.
Stack Trace 1/2
2/2
Contao Version 4.4.23