#16 Fix context field on nested array #20
Merged
+34
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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)