-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update to 11.10 from 11.9.2 breaking with error "There is no conversion named thumb
"
#3724
Comments
The following pull added to 11.10 causes the issue: #3715 Reverting:
back to
fixes the crash |
same issue |
ok, so the new code does what is expected and returns null for conversion when, looking for conversions on a collection that doesn't have conversions. The problem is this is what is throwing the exception
The question then becomes why is which brings you to If we follow that, we can see that all the code calls
I think the woopies here is thinking that |
On 11.9.2 everything works.
On 11.10, the following error occurs when updating or saving media:
Note I am updating signatures, not avatar, and yet there is an error for "thumb", which isn't defined as a conversion on the signatures collection, so I'm not sure why it's trying to look it up?!
Other things that might be important
media-library.prefix = ''
so the above just returns uuid for the path, giving paths like"signature_url": "/storage/cf244a39-fa52-42e5-a5e0-62a9ffa5564b/33275f9e-b3a4-44a6-9334-2384f9b6eeaf.jpg"
More information, the media being added is added from base64 so it has a .tmp extension, that is then changed to the correct extension detected by the mime-type (something that media-lib doesn't do automatically! - see the graveyard that is - #3089), this causes the Observer to trigger and run, which is when the problems occurs, within
syncFileNames()
insideSpatie\MediaLibrary\MediaCollections\Models\Observers\MediaObserver
.Something is causing backwards breaking in 11.10
The text was updated successfully, but these errors were encountered: