[Sakai Jira] Created: (SAKIII-4063) Removal of user from all sites causes errors in My Sakai2 Favourites widget

Kent Fitzgerald (JIRA) sakai-ui-dev-tracking at collab.sakaiproject.org
Thu Sep 22 08:55:42 PDT 2011


Removal of user from all sites causes errors in My Sakai2 Favourites widget
---------------------------------------------------------------------------

                 Key: SAKIII-4063
                 URL: https://jira.sakaiproject.org/browse/SAKIII-4063
             Project: Sakai 3 UI Dev
          Issue Type: Bug
          Components: Hybrid
    Affects Versions: 1.0.1, Sprint 112
            Reporter: Kent Fitzgerald
             Fix For: 1.0.1, Sprint 112
         Attachments: Widget-after membership revoked.png

If a user is a member of a site, they see the MySakai2 Favourites widget properly.

If a CLE admin removes that user from all of the sites they are a member of (or the user unjoins), it results in a widget that does not display properly and does not allow you get back to the Select Sites dialog. 
Adding the user back to a site corrects the problem.

Errors:
On Load of widget
fulllist.sites is undefined

http://localhost:8088/devwidgets/mysakai2/javascript/mysakai2.js
  Line 87

Two errors when clicking Select Sites in the widget:
TemplateRenderer: rendering of Template "sakai2_category_list_template" failed: ReferenceError: categories is not defined

http://localhost:8088/dev/lib/sakai/sakai.dependencies.js

Line 28

sakai.data.me.sakai2List is undefined

http://localhost:8088/devwidgets/sakai2favourites/javascript/sakai2favourites.js

Line 227

Steps to reproduce:
1) Add a user to CLE
2) Add a user with the same ID to OAE
3) Log in to CLE with the user you just created
4) Join CLE site that is 'Joinable' (create site if necessary)
5) Log in to OAE with user id created in step 2
The MySakai2 Favourites widget gives you access to My Workspace and the site you joined.
6) Click My Workspace in the My Sakai2 Widget
7) Click membership in the left nav
8) Unjoin site(s)
9) Go back to My Dashboard
The MySakai2 favourites widget does not display properly and you cannot Select Sites


 


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the sakai-ui-dev-tracking mailing list