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
When Illuminate\Http\UploadedFile passed in custom cast as value, setter called multiple times,
and after last call, attribute value is empty object, but value is valid in database record.
If argument isn't Illuminate\Http\UploadedFile everything is ok.
If argument is Illuminate\Http\UploadedFile setter calls 8 times and return attribute value is empty object.
If argument isn't Illuminate\Http\UploadedFile setter called one time and return attribute value is valid.
This discussion was converted from issue #38683 on September 07, 2021 09:34.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
When
Illuminate\Http\UploadedFile
passed in custom cast as value, setter called multiple times,and after last call, attribute value is empty object, but value is valid in database record.
If argument isn't
Illuminate\Http\UploadedFile
everything is ok.Steps To Reproduce:
If argument is
Illuminate\Http\UploadedFile
setter calls 8 times and return attribute value is empty object.If argument isn't
Illuminate\Http\UploadedFile
setter called one time and return attribute value is valid.Beta Was this translation helpful? Give feedback.
All reactions