- Status changed to Needs review
over 1 year ago 10:23am 18 April 2023 - First commit to issue fork.
- 🇧🇪Belgium mauro_
After upgrading to D10, I'm getting following error when trying to edit a paragraph with a single text field in a field group with the patch above applied.
/io-builder/entity/form?_wrapper_format=drupal_ajax&bundle=text&entity_type=paragraph&io_builder_context_id=io_builder_entity_context&language=nl&revision_id=293&view_mode=default
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: Input value "io_builder_context_tree" contains a non-scalar value. in Symfony\Component\HttpKernel\HttpKernel->handle() (regel 81 van /app/htdocs/vendor/symfony/http-kernel/HttpKernel.php).
The error seems to be caused by line 378 of IoBuilderController.php (IoBuilderController::getIoBuilderContextTreeFromRequest) and was fixed for me by removing the extra request object on the request variable.
I've added a commit to the MR and a new patch to this issue.
- 🇧🇪Belgium mauro_
It seems my previous patch didn't apply correctly. I have refactored and tested it against de dev release and it seems to be working now. I have tested adding, moving, editing and deleting paragraphs and I have encountered no other issues.
- Status changed to Fixed
12 months ago 12:21pm 21 December 2023 - 🇧🇪Belgium mauro_
Drupal 10 patch no longer required for 1.0.x. I will create a release soon
- Status changed to Fixed
12 months ago 3:35pm 21 December 2023