carlosomarrd / clients-oriented-ftp

Automatically exported from code.google.com/p/clients-oriented-ftp
0 stars 0 forks source link

orphaned files can not be deleted and delete another file #466

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
- Logged in as admin, see a orphaned file in the file list (manage files)
- marked this file (toggle the checkbox) and proceed delete action

What is the expected output? What do you see instead?
Instead of the selected file to another will be deleted.

What version of the product are you using? On what operating system?
r561 on Linux (Debian Squeeze, PHP 5.3.3)

Please provide any additional information below.
The checkbox refers to tbl_files_relations.id instead to 
tbl_files_relations.file_id or tbl_files.id. Orphaned files has no entry in 
tbl_files_relations. The checkbox contains the tbl_files_relations.id of the 
previous entry.

Original issue reported on code.google.com by r...@netbreaker.de on 3 May 2014 at 3:43