In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
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 Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.1.0-B2
Status closed Product Version 5.0.3-B2 Target Version 5.1.0
Time EstimateNo estimate
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
Tags No tags attached.
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
Attached Files patch file icon uploader_duplicate_filename_in_temp_folder_fix.patch [^] (5,093 bytes) 2010-05-30 13:09 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0000456closed (5.1.0)alex Major Flash Uploader Redesign 

-  Notes
User avatar (0002334)
Dmitry (manager)
2010-05-30 15:37

Tested good, and can be committed.

I had to apply some parts of the patch by hand.
User avatar (0002352)
Dmitry (manager)
2010-05-31 22:27

Let's move this to 5.1.0 along with other Flash Uploader tasks.
User avatar (0002355)
alex (manager)
2010-06-01 01:41

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000703: Improve Flash Uploader to generate random names during initial upload to file system
User avatar (0002513)
alex (manager)
2010-07-22 15:03

Closing, since 5.1.0 release has been released.

- Related Changesets
In-Portal CMS: 5.1.x r13659
Timestamp: 2010-06-01 01:41:25
Author: alex
Details ] Diff ]
Fixes 0000703: Improve Flash Uploader to generate random names during initial upload to file system
mod - /in-portal/branches/5.1.x/core/admin_templates/js/uploader/upload_manager.js Diff ] File ]
mod - /in-portal/branches/5.1.x/core/admin_templates/js/uploader/uploader.js Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/db/db_event_handler.php Diff ] File ]

- 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



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker