-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When uploading an image with a filename that already exists, and chosing "rename", image-resizer errors #79
Comments
Are you able to confirm what volume filesystem you're using? Local, S3 or other? |
S3 |
This also happens when I just click save on an image that has already been uploaded. I have done a bit of additional debugging on this, and I can see in:
We have:
When this bug occurs, $asset->tempFilePath is NULL. Evidently it has other file information, such as $asset->filename, which is correctly set. When we upload a fresh file, $path returns:
|
Should be fixed for the next release. To get this early, run |
Hi, Now when we save a file, we get the error: Could not open create the stream for “test.jpg” (Where test.jpg is the name of the file). From line 200 of vendor/craftcms/cms/src/base/FlysystemVolume.php |
Hmm, so that must be a result of |
Name: Files Please let me know if you need any more information |
Looks identical to mine! I'll keep digging to try and replicate this. |
Let me know if admin access to our staging environment might help, and I'll see if I can get that. Also keep in mind that we are on Craft 3.7.16, in case that makes a difference. I'm not sure this client has the budget to update to the latest 3.9.x version. We are however using the latest version of the craftcms/aws-s3 plugin. |
That might be useful, and best to get in touch via |
Thank you! I have put in a request to grant you access, but we won't get that until next week. I will reach out to [email protected] when I know more. |
I have now been pulled from this job due to lack of budget to take this further forward, so I will not be able to assist any further with this bug report. We have decided to resize the images manually instead of using this plugin, apologies. |
I will also add that we are seeing this issue on at least one other of our projects however, and whenever we see the issue, we get the same result: Could not open create the stream for “test.jpg” |
Thanks for the update, and sorry we haven't been able to get to the bottom of it. I'll keep at it on my end. I did test out on Craft 3.7 specifically, just in case that was a factor, but wasn't able to reproduce it. |
Describe the bug
When uploading an image with a filename that already exists, and chosing "rename", image-resizer errors
Steps to reproduce
Craft CMS version
3.7.16
Plugin version
2.2.1
Multi-site?
No
Additional context
No response
The text was updated successfully, but these errors were encountered: