There are any problem when copy or move one file in one folder and exist one file with the same name.
With the path #576 the problem is solved, but Tracy the day 25 of August remove this changes, why? The problem still is not solved.
Example path for move.tcl
Index: move.tcl
===================================================================
RCS file: /cvsroot/openacs-4/packages/file-storage/www/move.tcl,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 move.tcl
--- move.tcl 20 Jul 2004 20:22:09 -0000 1.1.2.5
+++ move.tcl 22 Jul 2004 14:47:35 -0000
@@ -49,7 +49,14 @@
# but the existing file-move page checks for WRITE
template::multirow foreach move_objects {
+ db_transaction {
db_exec_plsql move_item {}
+ } on_error {
+ set folder_name "[_ file-storage.folder]"
+ set folder_link "<a href=\"index?folder_id=$folder_id\">$folder_name</a>"
+ ad_return_complaint 1 "[_ file-storage.lt_The_folder_link_you_s]"
+ ad_script_abort
+ }
}
ad_returnredirect $return_url
Thanks
Darior