Index: openacs-4/packages/xowiki/tcl/xowiki-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-procs.tcl,v diff -u -r1.542.2.58 -r1.542.2.59 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 15 Jan 2020 10:42:30 -0000 1.542.2.58 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 15 Jan 2020 10:51:31 -0000 1.542.2.59 @@ -2319,6 +2319,11 @@ {-path_encode:boolean true} } { # return the pretty_link for the current page + + # Make sure package is initialized + if {![nsf::is object ::${:package_id}]} { + ::xowiki::Package initialize -package_id ${:package_id} + } ${:package_id} pretty_link -parent_id ${:parent_id} \ -anchor $anchor -query $query -absolute $absolute -siteurl $siteurl \ -lang $lang -download $download -page [self] \