- 🇫🇷France hassebasse
I'm on D10.1
I had the same problem, and I figured out it was connected to activating the Blazy filter in the text editor settings. So upload impossible with the Blazy filter activated in the text editor settings, while upload possible if desactivating the Blazy filter in the text editor settings.
Maybe it is rather a Blazy issue?
Symfony\Component\HttpKernel\Exception\HttpException: Temporary file could not be moved to file location in Drupal\ckeditor5\Controller\CKEditor5ImageController->upload() (line 188 of /home/my-domain/public_html/drupal/web/core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php).
- 🇮🇳India ramprassad
I'm also facing this issue in drupal 10.1.3 with ckeditor 5. This patch works fine, so created a patch so it can be applied.
- 🇲🇽Mexico edgar.aguilar Tabasco
@ramprassad! The #5 patch is working for me! thanks!!
- 🇧🇷Brazil larruda
Had to port the patch to work with 10.2.0.
Haven't fully tested yet, but apparently fixes the problem.I believe a new issue must be raised in core, otherwise this patch will not be committed.
- Status changed to Needs review
6 months ago 8:23pm 25 December 2023 - last update
6 months ago Patch Failed to Apply - last update
6 months ago Patch Failed to Apply - 🇧🇷Brazil larruda
Just raised an issue in core referencing this one
https://www.drupal.org/project/drupal/issues/3410827 🐛 Can't upload files Active - 🇩🇪Germany Franz-m
In my case - D10.2.2 - I did not succeed. Hopefully this log can help ...
Gathering patches for dependencies. This might take a minute. - Installing drupal/core-recommended (10.2.2) - Applying patches for drupal/core-recommended 3328277-ckeditor5-upload-image-2.patch (Cke5-Image-Upload) In RemoteFilesystem.php line 108: [TypeError] Composer\Util\RemoteFilesystem::copy(): Argument #1 ($originUrl) must be of type string, null given,
- 🇮🇳India Sandeep_k New Delhi
@larruda, I've tested this patch- 3328277-ckeditor5-upload-image-2.patch on Drupal version- 9.5, I was able to reproduce this issue but while applying the patch I was getting an error & The patch didn't get applied successfully for me. (Error attached)
- 🇫🇷France frondeau Nantes, FRANCE
Hello,
On Drupal 9.5.11,
I was looking for a patch to solve the CKEDITOR5 image upload.
I've applied the first patch, https://www.drupal.org/files/issues/2023-09-20/3328277-ckeditor5-upload-image.patch → ,- with my user profile, administration language, on a choosen language
FRENCH
: the patch won't work. - with my user profile, administration language, on a choosen language
NO PREFERENCE
: it is working, as it is without this patch.
So this patch may fix a bug but not the concerned one (CKEDITOR5 Images upload).
Sorry to fix this conversation but I think it is important to add this detail. - with my user profile, administration language, on a choosen language
- last update
5 months ago Patch Failed to Apply - last update
5 months ago Patch Failed to Apply - last update
5 months ago Patch Failed to Apply - 🇳🇱Netherlands Ronald van Belzen
I wonder whether this issue will also solve the scenario when copy-and-pasting multiple images into the editor. This results in only 1 image being saved, while the other images encounter the error:
Symfony\Component\HttpKernel\Exception\HttpException: File "public://inline-images/image.png" is already locked for writing. in Drupal\ckeditor5\Controller\CKEditor5ImageController->upload() (line 167 of /var/www/html/web/core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php).
Not been able to check the patch, but maybe this is of interest.