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.21 -r1.22 --- openacs-4/packages/acs-content-repository/sql/oracle/content-folder.sql 24 Oct 2008 13:50:14 -0000 1.21 +++ openacs-4/packages/acs-content-repository/sql/oracle/content-folder.sql 3 Feb 2009 02:25:02 -0000 1.22 @@ -355,8 +355,8 @@ and f.folder_id = copy.folder_id; - 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''; + if v_current_folder_id = copy.target_folder_id and (v_name = copy.name or copy.name is null) then + raise_application_error(-20000, 'content_folder.copy - Destination folder is parent folder'); end if; -- create the new folder