mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 19:05:54 +03:00
[GH-ISSUE #819] file upload - says "success" on failure #553
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#553
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mclorch on GitHub (Jul 15, 2022).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/819
I encountered a situation during file upload, where the file got created but not populated.
To accurately detect this error, the success response object should be relocated inside of the if statement checking if the tmp file is readable (line 928):
It would also be nice to provide some more troubleshooting information, e.g. by logging the last error that occurred in case of error.
@prasathmani commented on GitHub (Nov 19, 2022):
This issue is addressed in the new release.