Forum .LRN Q&A: Integration of Questions and Content in LORS (dotLRN2.3.0-OpenACS5.3)

I've seen there is a new option to link a question (existing Assessment) and content to an existing SCORM course uploaded in LORS from Admin course:
http://server/dotlrn/classes/xx/xx.xx/xx/lorsm/admin/course-structure?man%5fid=5177

However, both options crashes:

*************
ADDING A CONTENT
*************
you get:
Error in include template "/web/dotemma/packages/lors/lib/object-new": invalid command name "::xowiki::Page"

PAGE: /packages/lors/lib/object-new
------------------------------------------------------------
invalid command name "::xowiki::Page"
while executing
"::xowiki::Page require_folder -package_id $xowiki_node(object_id) -name xowiki"
("wiki" arm line 7)
invoked from within
"switch $add_type {
assessment {
# get a list of assessment
set dotlrn_package_id [dotlrn_community::get_community_id]
set assessment_pac..."
("uplevel" body line 8)
invoked from within
"uplevel {
ad_page_contract {
create a new lors object
@param man_id
}

switch $add_type {
assessment {
# get a list of assessment..."
(procedure "code::tcl::/web/dotemma/packages/lors/lib/object-new" line 2)
invoked from within
"code::tcl::$__adp_stub"
invoked from within
"if { [file exists $__adp_stub.tcl] } {

# ensure that data source preparation procedure exists and is up-to-date
adp_init tcl $__adp_stub
..."
("uplevel" body line 3)
invoked from within
"uplevel {

if { [file exists $__adp_stub.tcl] } {

# ensure that data source preparation procedure exists and is up-to-date
adp_init t..."
(procedure "adp_prepare" line 2)
invoked from within
"adp_prepare "
(procedure "template::adp_parse" line 30)
invoked from within
"template::adp_parse [template::util::url_to_file "/packages/lors/lib/object-new" "$__adp_stub"] [list man_id "[ad_quotehtml [lang::util::localize ${ma..."

*************
ADDING A QUESTION
*************

You can choose an existing assessment, but when you enter the course, you get the following error:

can't read "course_name": no such variable
while executing
"lang::util::localize ${course_name}"
invoked from within
"ad_quotehtml [lang::util::localize ${course_name}]"
invoked from within
"append __adp_output "< head >
< title >[ad_quotehtml [lang::util::localize ${course_name}]]< /title >
< /head >
< frameset cols=\"200,*\" border=0 >
< frame src=..."
("uplevel" body line 3)
invoked from within
"uplevel {
set __adp_output ""
append __adp_output "< head >
< title >[ad_quotehtml [lang::util::localize ${course_name}]]< /title >
< /head >
< frameset cols=\..."
(procedure "template::code::adp::/web/dotemma/packages/lorsm/www/deliver..." line 2)
invoked from within
"template::code::${template_extension}::$__adp_stub"
(procedure "template::adp_parse" line 82)
invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 5)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file $path"
(procedure "rp_internal_redirect" line 26)
invoked from within
"rp_internal_redirect /packages/lorsm/www/delivery/${folder_name}"
("assessment" arm line 17)
invoked from within
"switch $base {
assessment {
# find assessment package_id
# get dotlrn package_id
set assessment_package_id [dotlrn_community::get_applet_pac..."
(file "/web/dotemma/packages/lorsm/www/delivery/index.vuh" line 60)
invoked from within
"source [ad_conn file]"
(procedure "rp_handle_tcl_request" line 3)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file -noredirect -nodirectory -extension_pattern ".vuh" "$root$prefix""
("uplevel" body line 3)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
ad_conn -set path_info [string range $path [expr [string length $prefix] - 1] end]
rp_serve_abstract_file -noredirect -nodirectory -e..."

I've fixed those 2 errors and committed at oacs-5-3 branch.