-
Type: Bug Report
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.1.0
-
Fix Version/s: 5.2.0
-
Component/s: File Uploader
-
Labels:None
-
External issue URL:
-
Additional information:
-
Change Log Group:Fixed
-
Change Log Message:Uploaded files were available in "/system" folder even after form validation error.
-
Story Points:2
-
External issue ID:43
-
Copy Issue Key:
-
Patch Instructions:
When "inp_edit_swfupload" block is used on form, then selected files are actually uploaded in two cases:
- when "upload" button is pressed (under uploader control)
- when "save" button is pressed (on top of form)
By default SWFUploader uploads files in temp directory ("/system/tmp") and when saving record to database ("save" button pressed) is moving uploaded files from temp directory to actual directory, specified in unit config.
But, when we have some invalid data on form, like required field value is not entered and "save" button is pressed, then we are returned to form with validation errors displayed, but are already uploaded to target directory.
Files, uploaded to temp directory should only be moved to target directory when "save" button is pressed and there are not validation errors on form.
- parent of
-
INP-1241 Partially revert changes made in INP-33
- Closed
- relates to
-
INP-670 Port Flash Uploader to Front-End
- Closed
-
INP-701 Queuing events to uploader fails, when flash object isn't yet loaded
- Closed
-
INP-769 Strange error, while using flash uploader
- Closed
-
INP-862 Ability to enter inline description for files in Flash Uploader
- New
-
INP-34 "Files" are NOT Deleted when Editing Sub-Items
- Closed
-
INP-868 Inability to use non-latin characters in flash uploader "Browse" button
- Closed
-
INP-1116 Allow restricting "kDBItem::Update" method to given fields only
- Closed
-
INP-1240 Append ".tmp" file extension to files, uploaded in temporary table
- Closed