Index: openacs-4/packages/xowiki/www/admin/list.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/admin/list.tcl,v diff -u -r1.36.2.3 -r1.36.2.4 --- openacs-4/packages/xowiki/www/admin/list.tcl 9 Oct 2016 08:47:30 -0000 1.36.2.3 +++ openacs-4/packages/xowiki/www/admin/list.tcl 9 Dec 2016 20:39:18 -0000 1.36.2.4 @@ -116,6 +116,12 @@ -select_attributes $attributes \ -orderby ci.name \ ] { + if {[info commands ::$package_id] eq ""} { + # Safety belt for cases, where the instance_select_query + # brings in instances belonging to other packages. + ns_log notice "admin/list: have to initialize package $package_id" + ::xo::Package initialize -package_id $package_id -keep_cc true + } set page_link [::$package_id pretty_link -parent_id $parent_id $name] set name [::$package_id external_name -parent_id $parent_id $name]