Forum .LRN Q&A: dotLRN 2.0.2, problem with some users "My Space"

Hello,
We have problems with some dotLRN users on dotLRN 2.0.2.

When they log in and want to go to "My Space" they get the message:

Permission Denied
You don't have permission to portal_read_portal.

The same problem, when an Administrator becomes this user and wants to go to "My Space".

Andybody with the same problem?
Any ideas?

Thanks for help.
Best regards.
Holger

Holger,

I can think of two things:

-- are they approved dotlrn users?
-- are they limited access users with no memberships?

either of those conditions could cause an error like that.

Dee Kane

Hello,

Users are approved.

User Type: student
Access Level: full
Guest? no

Regards, Holger

Holger,

What is the status of this issue for you.  (I'm about to start the .LRN 2.0.3 release and want to make sure all the critical stuff is in it).

Have you found a solution?

Tracy

Hello Tracy,

We have about 100 users at the moment, and the "My Space" problem with only 3 of the users.
I have no idea why and no solution. Sorry.

And we stll have the problem with the homework-folders:
https://openacs.org/forums/message-view?message_id=171187

Regards, Holger

Holger,

I've been working with Heidelburg on their blocking bugs and I'm aiming to cut 2.0.3 on Friday.

I haven't been able to reproduce this and people I ask haven't had any clues.  To help, I'll either need access to a place where I can reproduce it or a way to reproduce it. Also, Please open a ticket (if you haven't already) so we can track it.

Thanks,
Tracy

I got the same error in the translation server, not sure where's the problem.
Hi Holger,

I could not reproduce error with those three users. Do you know, if any changes in permissions occurred?

/Martin

Has anyone found a solution to this?  At least 3 out of 150 users on my now 2.0.3 have had this problem, and suggesting that they open a new account is not the most elegant solution.  Would a programmer like to visit an account with such troubles?  I'm sorry, I can't today get at the error.log to record a message.  Thanks!  Bruce
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