Index: openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql,v diff -u -r1.1.2.4 -r1.1.2.5 --- openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql 16 Jan 2006 00:17:53 -0000 1.1.2.4 +++ openacs-4/packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql 29 Mar 2006 10:54:21 -0000 1.1.2.5 @@ -1818,17 +1818,17 @@ else v_folder_id := content_item.new( - item_id => folder_id, - name => name, + name => new.name, + parent_id => new.parent_id, + item_id => new.folder_id, + creation_date => new.creation_date, + creation_user => new.creation_user, + context_id => v_context_id, + creation_ip => new.creation_ip, item_subtype => 'content_folder', content_type => 'content_folder', - context_id => v_context_id, - creation_date => creation_date, - creation_user => creation_user, - creation_ip => creation_ip, - parent_id => parent_id, - security_inherit_p => security_inherit_p, - package_id => package_id + security_inherit_p => new.security_inherit_p, + package_id => new.package_id ); insert into cr_folders (