Hi. I recently upgraded to xowiki 0.50 with xotcl-core 0.48.
I tried running xowiki/admin/regression_test.tcl and got the following error
During this test:
Create and Render Index Page
OK: object name parsed - passed (0 ms)
OK: method passed from package initialize - passed (1 ms)
ERROR: index page resolved returned '0' ne '1'
ERROR: we have a page object returned '0' ne '1'
invalid command name "::"
while executing
"::$page_item_id item_id"
("uplevel" body line 1)
(procedure "?" line 1)
invoked from within
"? {expr {[::$page_item_id item_id]>0}} 1 "item_id given""
("uplevel" body line 126)
invoked from within
"uplevel {
If i run test.tcl I get this
Check Permissions based on default policy
OK: user_id is guest - passed (0 ms)
OK: the public cannot delete this page - passed (0 ms)
OK: the public cannot admin this package - passed (1 ms)
New Query: /XOWIKI-TEST/en/index
during '::xo::cc m view'
::xo::cc ::xotcl::Object->configure
::xo::ConnectionContext ::xotcl::Class->create
invoked from within
"my create ::xo::cc -package_id $package_id -parameter_declaration $parameter -user_id $user_id -actual_query $actual_query -url $url"
(procedure "require" line 16)
::xo::ConnectionContext->require
invoked from within
"ConnectionContext require -package_id $package_id -user_id $user_id -parameter $parameter -url $url -actual_query $actual_query"
(procedure "initialize" line 14)
::xowiki::Package ::xo::PackageMgr->initialize
invoked from within
"::xowiki::Package initialize -parameter $index_vuh_parms -package_id $info(package_id) -url /$instance_name/en/index -actual_query "" -user_id 0"
("uplevel" body line 152)
invoked from within
"uplevel {
Do we need both of those files? If one more up to date than the other?