Index: openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl,v diff -u -N -r1.93.2.20 -r1.93.2.21 --- openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl 15 Apr 2017 09:52:46 -0000 1.93.2.20 +++ openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl 7 Aug 2017 16:43:04 -0000 1.93.2.21 @@ -1617,9 +1617,11 @@ db_dml mount_object {} db_dml update_object_package_id {} - # We might have for this node_id (or under it) some entries in the - # cache, so flush these first. - site_node::update_cache -sync_children -node_id $node_id + # Flush all values for this node and its ancestors + set ancestors [site_node::get_ancestors -node_id $node_id -element node_id] + foreachn $ancestors { + site_node::update_cache -sync_children -node_id $n + } # DAVEB update context_id if it is passed in # some code relies on context_id to be set by