0 byte file displayed after failed upload to filesystem
Submitted by doo on Thu, 06/19/2008 - 20:21.
| Project: | ProjectPier |
| Version: | 0.8.0.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | new |
Jump to:
Description
If a file storage model chosen is „filesystem“, after uploading a file, a message „Failed to create folder something/upload/d4e51/22322/ca3f8“, but after that the file attempted to upload is displayed as if existent anyway. It is editable and downloadable, but 0 byte size.
Works both for private and public modes.
A workaround on InnoDB storage engine was applied before (http://www.projectpier.org/node/300#comment-425), but I don't think it is the cause.

Same with files stored in database. After an error (Failed to import file '/tmp/phpgtKjWQ' to the file repository (unique file id: 6c120790b2ff230dfeca57f3b25eb69581ab40b0)) the file is displayed. So I guess it's a general file upload error handling problem.