Index: openacs-4/packages/xowiki/tcl/xowiki-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-callback-procs.tcl,v diff -u -r1.73.2.3 -r1.73.2.4 --- openacs-4/packages/xowiki/tcl/xowiki-callback-procs.tcl 31 Aug 2014 16:51:50 -0000 1.73.2.3 +++ openacs-4/packages/xowiki/tcl/xowiki-callback-procs.tcl 3 Sep 2014 14:33:29 -0000 1.73.2.4 @@ -48,6 +48,16 @@ ::xo::db::sql::content_item delete -item_id $root_folder_id } } + + set instance_name [db_string get_instance_name { + select instance_name from apm_packages where package_id = :package_id + }] + + ::xo::clusterwide ns_cache flush xotcl_object_type_cache package_id-$instance_name + ::xo::clusterwide ns_cache flush xotcl_object_type_cache -100-$instance_name + ::xo::clusterwide ns_cache flush xotcl_object_type_cache package_key-$package_id + ::xo::clusterwide ns_cache flush xotcl_object_type_cache root_folder-$package_id + ns_log notice "before-uninstantiate DONE" } Index: openacs-4/packages/xowiki/www/admin/test.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/admin/Attic/test.tcl,v diff -u -r1.36.2.3 -r1.36.2.4 --- openacs-4/packages/xowiki/www/admin/test.tcl 3 Sep 2014 12:27:48 -0000 1.36.2.3 +++ openacs-4/packages/xowiki/www/admin/test.tcl 3 Sep 2014 14:33:29 -0000 1.36.2.4 @@ -138,8 +138,8 @@ # Make sure to delete the name entry in the cache in case, the instance was deleted # via low-level API -::xo::clusterwide ns_cache flush xotcl_object_type_cache package_id-xowiki -::xo::clusterwide ns_cache flush xotcl_object_type_cache -100-$instance_name +#::xo::clusterwide ns_cache flush xotcl_object_type_cache package_id-xowiki +#::xo::clusterwide ns_cache flush xotcl_object_type_cache -100-$instance_name ############################################################# test subsection "Basic Setup: Package, url= /$instance_name/"