Index: openacs-4/packages/dotlrn-forums/tcl/dotlrn-forums-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-forums/tcl/dotlrn-forums-procs.tcl,v diff -u -N -r1.16.2.6 -r1.16.2.7 --- openacs-4/packages/dotlrn-forums/tcl/dotlrn-forums-procs.tcl 23 Feb 2021 13:02:02 -0000 1.16.2.6 +++ openacs-4/packages/dotlrn-forums/tcl/dotlrn-forums-procs.tcl 23 Feb 2021 13:08:02 -0000 1.16.2.7 @@ -228,9 +228,10 @@ ns_set put $args package_id $package_id ns_set put $args param_action append - # don't use the cached version + # Avoid a stale cache + ::dotlrn::dotlrn_user_cache flush -partition_key $user_id $user_id-portal_id dotlrn_forums::add_portlet_helper \ - [dotlrn::get_portal_id_not_cached -user_id $user_id] \ + [dotlrn::get_portal_id -user_id $user_id] \ $args dotlrn_forums::add_portlet_helper $portal_id $args