Anonymous | Login | Signup for a new account | 2024-03-28 17:39 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Dependency Graph | [ View Issue ] [ Relation Graph ] [ Horizontal ] | |||
|
||||
|
Viewing Issue Simple Details | |||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update |
0000703 | [In-Portal CMS] Admin Interfaces | feature request | always | 2010-04-17 19:26 | 2010-07-22 15:03 |
Reporter | Dmitry | View Status | public | ||
Assigned To | alex | ||||
Priority | normal | Resolution | fixed | ||
Status | closed | ||||
Summary | 0000703: Improve Flash Uploader to generate random names during initial upload to filesystem | ||||
Description |
Flash uploader uses temporary folder to store uploaded files until user hits Save toolbar button. In that temporary folder files are named like this: *uploader_flash_<control_number>_<file_number>_<original_file_name>* This way, when 2 users select same file (same name) for upload on same edit page, then they are merged together and only one user will be able to use this file at the end. I propose to generate temporary name for each uploaded file after file is uploaded to server (in OnUploadFile event) using "tempnam" php function and return it to js uploader part. Then, when user hits "Save", then js uploader will submit original file name and it's temporary name (does that already) so problem will be eliminated. Also it may be a good idea to clean up "/system/tmp" folder after upload is made, so we don't store files, that were uploaded 1 day ago and were never used since then. |
||||
Additional Information |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |