Active
Project:
Cloudinary Integration
Version:
2.1.3
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2023 at 04:12 UTC
Updated:
2 Feb 2024 at 12:22 UTC
Jump to comment: Most recent
Comments
Comment #2
praveen3555 commentedTry to replicate as
Comment #3
adaddinsaneOur issue has a similar result but it's not the same.
I have a paid-for Cloudinary account and we have been using it with our site for 5 years.
The error we have is:
The specified file '/tmp/phpRyCHmT' could not be copied because the destination directory 'cloudinary://inline-images' is not properly configured.However this ONLY happens for inline images created using ckeditor 5. The standard media manager works just fine. And yes, inline-images exists, and has been in use for those 5 years.
This error is generated by Drupal, probably because it tries to access the Cloudinary directory (in the prepareDirectory() method of FileSystem) directly which obviously it can't do.
A further look shows me that very early on it uses
is_dir()on the directory alone which returns false but later calls$this->mkdir()which works (because that goes through the streamwrapper). But then it comes back and thinks the full filename must be a directory, which then fails, so the upload fails.