Index: openacs-4/packages/xowiki/tcl/import-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/import-procs.tcl,v diff -u -N -r1.30.2.2 -r1.30.2.3 --- openacs-4/packages/xowiki/tcl/import-procs.tcl 27 Mar 2017 10:37:42 -0000 1.30.2.2 +++ openacs-4/packages/xowiki/tcl/import-procs.tcl 26 May 2017 15:20:14 -0000 1.30.2.3 @@ -355,7 +355,8 @@ foreach item_id $item_ids { ns_log notice "--exporting $item_id [$item_id name]" - ns_write "# exporting $item_id [$item_id name] [$item_id pretty_link]\n" + set pretty_link [expr {[$item_id package_id] ne "" ? [$item_id pretty_link] : "(not visible)"}] + ns_write "# exporting $item_id [$item_id name] $pretty_link\n" if {[catch {set obj [$item_id marshall]} errorMsg]} { ns_log error "Error while exporting $item_id [$item_id name]\n$errorMsg\n$::errorInfo" } else {