In TemporaryJsonapiFileFieldUploader class streamUploadData() function calls the methods implemented from the file_system services without checking they return a failure value. FileSystem::tempnam() return a Boolean value in case of error.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3103993-9.patch | 822 bytes | Rangaswini |
| #2 | 3103993-2.patch | 675 bytes | hardik_patel_12 |
Comments
Comment #2
hardik_patel_12 commentedKindly review a patch.
Comment #3
siddhant.bhosale commentedComment #4
pratik_kamble@Hardik_Patel_12 Patch LGTM. +1 RTBC.
Comment #5
pratik_kambleComment #6
pratik_kambleComment #7
alexpottThe method is documented as
So returning FALSE is not correct. We need to
Comment #8
Rangaswini commentedComment #9
Rangaswini commentedComment #10
hardik_patel_12 commented#9 above patch works fine.
Comment #11
hardik_patel_12 commentedComment #13
catchCommitted f6ee10b and pushed to 9.0.x. Thanks! Backported to 8.9.x