You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we just spent not a small amount of time debugging why method registerMediaConversions on model was not called. TLDR: we had different values in getMorphClass / Relation::morphMap. Since class obtained from Relation::morphMap did not exist, method CoversionCollection::addConversionsFromRelatedModel escaped early and no conversions were registered.
However Media was successfully created. I understand that throwing exception might not be viable, and that underlying problem was something totally different. But i would greatly appreciate at least warning to the log instead of silence treatment.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So we just spent not a small amount of time debugging why method registerMediaConversions on model was not called. TLDR: we had different values in getMorphClass / Relation::morphMap. Since class obtained from Relation::morphMap did not exist, method CoversionCollection::addConversionsFromRelatedModel escaped early and no conversions were registered.
However Media was successfully created. I understand that throwing exception might not be viable, and that underlying problem was something totally different. But i would greatly appreciate at least warning to the log instead of silence treatment.
Beta Was this translation helpful? Give feedback.
All reactions