Closed next-sentence closed 2 years ago
@TonySma do you know why we made this change ?
Hello,
@next-sentence, sorry for the inconvenience
@maximehuran Yes, we discussed it here: https://github.com/monsieurbiz/SyliusRichEditorPlugin/pull/151/files/d1cf85b52f889086e8bb4093800ad77edb4f9aa0#diff-829b34ef33989639150626c9a37cfd3c0b859aeae1eae5b0db13b89aee31bf8a
I will have a look asap and do more tests
Tony
@TonySma, the problem is in FormController:
$formData = $this->processFormData($form, $fileUploader, (string) $request->request->get($form->getName()));
Same issue for me after upgrading to Sylius 1.10
@felixgilles @next-sentence can you give us the full exception ?
Notice: Array to string conversion
in vendor/monsieurbiz/sylius-rich-editor-plugin/src/Controller/FormController.php
(line 154)
New version released 🚀
Many thanks !
this change introduce an exception for all rich editor elements https://github.com/monsieurbiz/SyliusRichEditorPlugin/commit/d1cf85b52f889086e8bb4093800ad77edb4f9aa0#diff-7576ca365f8d9608e42f547cb096b39bcb72c95cbc93756770c78225423e0824R154
sylius 1.10, php 7.4