Skip to content

Conversation

@tonongregory
Copy link
Collaborator

When context is a nested array, process list page failed with error :

ErrorException:
Warning: Array to string conversion

at vendor/symfony/string/AbstractUnicodeString.php:206
at Symfony\Component\String\AbstractUnicodeString->join(array('bug' => array('bug' => 'bug')), null)
(vendor/symfony/string/UnicodeString.php:190)
at Symfony\Component\String\UnicodeString->join(array('bug' => array('bug' => 'bug')))
(vendor/easycorp/easyadmin-bundle/src/Field/Configurator/ArrayConfigurator.php:46)
at EasyCorp\Bundle\EasyAdminBundle\Field\Configurator\ArrayConfigurator->configure(object(FieldDto), object(EntityDto), object(AdminContext))
(vendor/easycorp/easyadmin-bundle/src/Factory/FieldFactory.php:102)
at EasyCorp\Bundle\EasyAdminBundle\Factory\FieldFactory->processFields(object(EntityDto), object(FieldCollection))
(vendor/easycorp/easyadmin-bundle/src/Factory/EntityFactory.php:43)
at EasyCorp\Bundle\EasyAdminBundle\Factory\EntityFactory->processFields(object(EntityDto), object(FieldCollection))
(vendor/easycorp/easyadmin-bundle/src/Factory/EntityFactory.php:49)
at EasyCorp\Bundle\EasyAdminBundle\Factory\EntityFactory->processFieldsForAll(object(EntityCollection), object(FieldCollection))
(vendor/easycorp/easyadmin-bundle/src/Controller/AbstractCrudController.php:143)
at EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController->index(object(AdminContext))
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:182)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:29)
at require_once('/var/www/vendor/autoload_runtime.php')
(public/index.php:5)

@njoubert-cleverage njoubert-cleverage merged commit 1a1c47b into prepare-release Dec 17, 2024
10 checks passed
@njoubert-cleverage njoubert-cleverage deleted the 16_context_bug branch December 17, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants