Index: openacs-4/packages/acs-content-repository/sql/oracle/content-folder.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/content-folder.sql,v diff -u -r1.20 -r1.21 --- openacs-4/packages/acs-content-repository/sql/oracle/content-folder.sql 23 Oct 2008 13:04:03 -0000 1.20 +++ openacs-4/packages/acs-content-repository/sql/oracle/content-folder.sql 24 Oct 2008 13:50:14 -0000 1.21 @@ -355,7 +355,7 @@ and f.folder_id = copy.folder_id; - if v_current_folder_id = copy__target_folder_id and v_name = copy.name then + if v_current_folder_id = copy__target_folder_id and (v_name = copy.name or copy.name is null) then raise EXCEPTION ''-20000: content_folder.copy - Destination folder is parent folder''; end if;