helios-ag / FMElfinderBundle

:file_folder: ElFinderBundle provides ElFinder integration with TinyMCE, CKEditor, Summernote editors
MIT License
275 stars 127 forks source link

Problem with uploading image using CKEditor #320

Closed antonioperic closed 6 years ago

antonioperic commented 6 years ago
Issue Type:

Please pick one and delete the rest:

Bundle Version:

Master or exact version, i.e. 8.0.3

Summary:

I integrated CKEditor with Elfinder bundle, and after I add image and save I got this error:

An exception has been thrown during the rendering of a template ("Warning: html_entity_decode(): charset `L' not supported, assuming utf-8").

this happens only when I add an image via the editor, if I change the text or just copy paste image tag, everything works ok

Steps To Reproduce:

install FOSCKEditorBundle Instal FMElfinder Bundle configure try add image (note: I am working with sylius project)

helios-ag commented 6 years ago

@antonioperic What version of Symfony do you use?

antonioperic commented 6 years ago

@helios-ag

"name": "symfony/symfony", "version": "v3.4.11",

helios-ag commented 6 years ago

Hi @antonioperic, tried to reproduce it on Symfony 3.4.12 and latest FOSCKEditorBundle and ElfinderBundle, and everything worked as expected, data succesfully persisted via doctrine. Probably sylius (or some service that belong to it) process forms and/or entities and tries to sanitize it.

antonioperic commented 6 years ago

@helios-ag seems that problem is related to my local environment. thnx for supporting this

helios-ag commented 6 years ago

No problem, you are welcome.