Skip to content

#16 Fix context field on nested array #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 17, 2024

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.

None yet

3 participants