Forum .LRN Q&A: LORSM problem with changing trackable, share and status

Request notifications

Hello, I've been having troubles with different parts of the module in the admin section.

I'm running .LRN 2.5.0 and I made a content package with Reload Editor. I'm using IMS-MD 1.2.1 and IMS-CP 1.1.4

The first error is the following:

When trying to set the trackable option to yes this error arise:

[14/Apr/2010:18:50:09][28428.3055401840][-conn:mdotlrn2.5::27] Error: GET http://localhost:8000/dotlrn/classes/dev/dev.dev/dev/lorsm/admin/tracker?man%5fid=3231
referred by "http://localhost:8000/dotlrn/classes/dev/dev.dev/dev/lorsm/admin/course-structure?man%5fid=3231"
Expected switch but encountered "

"
while executing
"ad_arg_parser $valid_args $args"
(procedure "ad_form" line 25)
invoked from within
"ad_form -name tracker -export {package_id} -form {
{man_id:key}

{project:text(inform)
{label "[_ lorsm.Course_Name]"}
..."
("uplevel" body line 25)
invoked from within
"uplevel {
# packages/lorsm/www/tracker.tcl

ad_page_contract {

set a course for a class to be trackable

@author Ernie Ghiglione (mailto:ErnieG@mm.s..."
(procedure "code::tcl::/var/lib/aolserver/mdotlrn2.5/packages/lorsm/www/..." 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"
invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 6)
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 "$root/[ad_conn extra_url]""
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
rp_serve_abstract_file "$root/[ad_conn extra_url]"
set tcl_url2file([ad_conn url]) [ad_conn file]
set tcl..."

I'm finding a similar error when trying to change the "Is share?" and "Status" (i.e an error like Expected switch but encountered " ")

Thanks for your help!

Hi Rafael,

This has been fixed and committed at the oacs-5-5 branch a while ago. To update your code, I guess the fastest way is to get the lorsm package from the repository (cvs co -r oacs-5-5 lorsm) and replace your local one with it.