Index: openacs-4/packages/xowiki/www/admin/export.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/admin/export.tcl,v diff -u -r1.12 -r1.13 --- openacs-4/packages/xowiki/www/admin/export.tcl 9 Jul 2008 10:34:25 -0000 1.12 +++ openacs-4/packages/xowiki/www/admin/export.tcl 5 Sep 2008 17:36:14 -0000 1.13 @@ -49,6 +49,9 @@ ns_write "[$template_id marshall] \n" set included($template_id) 1 } + if {![::xo::db::CrClass isobject $template_id]} { + ::xo::db::CrClass get_instance_from_db -item_id $template_id + } # in case, the template_id has another template, # iterate... if {[$template_id istype ::xowiki::PageInstance]} {