satishsoni1 / clients-oriented-ftp

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

Uploaded files not related to client #379

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Upload file
2. Select a client to relate to
3. Submit

What is the expected output? What do you see instead?

File should appear when viewing or managing files. It is, instead, considered 
an orphaned file because there is no record in tbl_files_relations linking it 
to a client

What version of the product are you using? On what operating system?
r412, Windows 2008 Server.

Please provide any additional information below.

Original issue reported on code.google.com by skboh...@gmail.com on 21 Oct 2013 at 12:51

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Issue is because tbl_files_relations 'download_count' doesn't have a default 
value. If you set this default value to 0 in the database, you can assign files 
correctly.

Have included updated database.php file form Installs folder for working 
installation (with amendments also covered by bug 268)

Original comment by sprocket...@gmail.com on 24 Jan 2014 at 11:53

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the solution! Just uploaded it to the repo.

Original comment by i...@subwaydesign.com.ar on 24 Jan 2014 at 10:40