In-Portal Issue Tracker - In-Portal CMS
|
||||||||||
Viewing Issue Advanced Details | ||||||||||
|
||||||||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: | |||||
703 | [In-Portal CMS] Admin Interfaces | feature request | always | 2010-04-17 19:26 | 2010-07-22 15:03 | |||||
|
||||||||||
Reporter: | Dmitry | Platform: | ||||||||
Assigned To: | alex | OS: | ||||||||
Priority: | normal | OS Version: | ||||||||
Status: | closed | Product Version: | 5.0.3-B2 | |||||||
Product Build: | Resolution: | fixed | ||||||||
ETA: | none | Fixed in Version: | 5.1.0-B2 | |||||||
Reference: | http://groups.google.com/group/in-portal-bugs/browse_thread/thread/4194a4716e58304e | |||||||||
Change Log Message: | Improvement to Flash Uploader for better filename support | |||||||||
Estimate Points: | 0 | |||||||||
|
||||||||||
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. |
|||||||||
Steps To Reproduce: | ||||||||||
Additional Information: | ||||||||||
Relationships |
| |||||||||
Attached Files: |
uploader_duplicate_filename_in_temp_folder_fix.patch (5,093) 2010-05-30 13:09 http://tracker.in-portal.org/file_download.php?file_id=605&type=bug |
|||||||||
|
||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2010-07-22 15:03 | alex | Note Added: 0002513 | ||||||||
2010-07-22 15:03 | alex | Status | resolved => closed | |||||||
2010-06-01 01:41 | alex | Note Added: 0002355 | ||||||||
2010-06-01 01:41 | alex | Status | reviewed and tested => resolved | |||||||
2010-06-01 01:41 | alex | Fixed in Version | => 5.1.0-B2 | |||||||
2010-06-01 01:41 | alex | Resolution | open => fixed | |||||||
2010-06-01 01:41 | alex | Changeset attached | 5.1.x r13659 | |||||||
2010-05-31 22:27 | Dmitry | Note Added: 0002352 | ||||||||
2010-05-31 22:27 | Dmitry | Target Version | Icebox => 5.1.0 | |||||||
2010-05-30 15:37 | Dmitry | Note Added: 0002334 | ||||||||
2010-05-30 15:37 | Dmitry | Assigned To | !COMMUNITY => alex | |||||||
2010-05-30 15:37 | Dmitry | Status | needs testing => reviewed and tested | |||||||
2010-05-30 13:09 | alex | Assigned To | => !COMMUNITY | |||||||
2010-05-30 13:09 | alex | Developer | => alex | |||||||
2010-05-30 13:09 | alex | Status | active => needs testing | |||||||
2010-05-30 13:09 | alex | File Added: uploader_duplicate_filename_in_temp_folder_fix.patch | ||||||||
2010-05-30 09:46 | alex | Relationship added | related to 0000456 | |||||||
2010-04-17 19:29 | Dmitry | Change Log Message | => Improvement to Flash Uploader for better filename support | |||||||
2010-04-17 19:26 | Dmitry | New Issue | ||||||||
2010-04-17 19:26 | Dmitry | Reference | => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/4194a4716e58304e |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|