History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CMS-61
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Michael Sharman
Votes: 0
Watchers: 0
Operations

Go to Planning board
Go to Task board
If you were logged in you would be able to see more operations.
FarCry CMS

Problems when deleting or replacing an uploaded file in the "Document Library"

Created: 17/Aug/08 02:36 PM   Updated: 17/Aug/08 03:49 PM
Component/s: Types
Affects Version/s: None
Fix Version/s: 2.0.1

Time Tracking:
Not Specified

Environment:
Windows XP
FarCry 5.0.0
CF 8
Firefox 3
MySQL 5


 Description  « Hide
Scenario
----------------------------
 - Add and save a new file using the flex/flash file uploader in the document library
 - Edit the record -> delete the file -> upload a new file -> save record
 - FarCry removes the original file, but never saves the new file you uploaded

When you go back in to edit the record, it seems that database is displaying your original file attached to the record. Try to preview it and you get a 404 as the actual file was successfully deleted (but the new file hasn't been saved in the database or file system)

Also if you add and save a new file, then edit the record and upload a new file (without deleting the old one) nothing happens. The database isn't updated with the new file and the file isn't uploaded to the file system. I imagine if a file is attached to a record, the file uploader (swf) shouldn't appear until such time that you "delete" the original file.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.