I ran into this on a site with the 2.1 branch (but not the latest code)... A workaround is to give temporarily site-wide admmin rights to the user... Anyone with a better solution?
Adding the user to a class generates this error:
[17/Sep/2004:15:30:06][16200.1096850224][-conn:dotlrn1::4] Error: POST http://xxx/dotlrn/admin/users-add-to-community?
referred by "http://xxx/dotlrn/admin/users-add-to-community?users=14151&referer=/dotlrn/admin/user?user_id=14151"
Selection did not return a value, and no default was provided
while executing
"db_string get_page_id_select {}"
(procedure "get_page_id" line 21)
invoked from within
"get_page_id -create -portal_id $portal_id -page_name $page_name"
(procedure "add_element" line 7)
invoked from within
"add_element -portal_id $portal_id -portlet_name $portlet_name -pretty_name $pretty_name -page_name $page_name -force_region $force_region"
invoked from within
"set element_id [add_element -portal_id $portal_id -portlet_name $portlet_name -pretty_name $pretty_name -page_name $page_name -force_region $forc..."
("uplevel" body line 4)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 1)
invoked from within
"db_transaction {
# Tell portal to add this element to the page
set element_id [add_element -portal_id $portal_id -p..."
(procedure "portal::add_element_parameters" line 12)
invoked from within
"portal::add_element_parameters -portal_id $portal_id -page_name $page_name -pretty_name [get_pretty_name] -portlet_name [get_my_name] -force_regi..."
(procedure "fs_portlet::add_self_to_page" line 12)
invoked from within
"fs_portlet::add_self_to_page -portal_id $portal_id -package_id [ns_set get $args package_id] -folder_id [ns_set get $args folder_id] -page_name [n..."
(procedure "add_portlet_helper" line 2)
invoked from within
"add_portlet_helper $portal_id $args"
(procedure "dotlrn_fs::add_user_to_community" line 12)
invoked from within
"dotlrn_fs::add_user_to_community $community_id $user_id"
(procedure "AcsSc.dotlrn_applet.addusertocommunity.dotlrn_fs" line 1)
invoked from within
"AcsSc.dotlrn_applet.addusertocommunity.dotlrn_fs 2212 14151"
("uplevel" body line 1)
invoked from within
"uplevel $func_and_args"
(procedure "apply" line 3)
invoked from within