Index: openacs-4/packages/xowiki/tcl/folder-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/folder-procs.tcl,v diff -u -r1.55.2.2 -r1.55.2.3 --- openacs-4/packages/xowiki/tcl/folder-procs.tcl 26 Feb 2019 11:35:19 -0000 1.55.2.2 +++ openacs-4/packages/xowiki/tcl/folder-procs.tcl 28 Feb 2019 12:50:29 -0000 1.55.2.3 @@ -562,8 +562,9 @@ # We have to use the global variable for the time being due to # scoping in "-columns" set ::__xowiki_with_publish_status [expr {$publish_status ne "ready"}] - set ::__xowiki_folder_link [$package_id make_link $current_folder bulk-delete {__csrf_token $::__csrf_token}] - + # unexisting csrf token usually means we are outside a connection thread + set csrf [expr {[info exists ::__csrf_token] ? [list __csrf_token $::__csrf_token] : ""}] + set ::__xowiki_folder_link [$package_id make_link $current_folder bulk-delete $csrf] switch [$package_id get_parameter PreferredCSSToolkit bootstrap] { bootstrap {set tableWidgetClass ::xowiki::BootstrapTable} default {set tableWidgetClass ::xowiki::YUIDataTable}