[Building Sakai] Course Management API integration question

Nicola Monat-Jacobs nicola at longsight.com
Thu Feb 11 10:10:14 PST 2010


Okay, I was able to figure out that Worksite Setup calls a bunch of CM methods to find some sections for the current user, so I went ahead and implemented getSections() so that the same courses would be returned there too.

catalina.out indicated that these are found and added to the list of groups for the current user:

DEBUG: findCourseOfferingRoles: nicola at longsight.com::sdfdfdff7537x7fs7f (2010-02-11 13:03:24,295 http-8080-Processor19_org.coursemanagement.LdapCourseManagementService)
DEBUG: adding offering role to Map: course1::Instructor (2010-02-11 13:03:24,637 http-8080-Processor19_org.coursemanagement.LdapCourseManagementService)
DEBUG: adding offering role to Map: course2::Instructor (2010-02-11 13:03:24,637 http-8080-Processor19_org.coursemanagement.LdapCourseManagementService)
DEBUG: adding offering role to Map: course3::Instructor (2010-02-11 13:03:24,637 http-8080-Processor19_org.coursemanagement.LdapCourseManagementService)
DEBUG: adding offering role to Map: course4::Instructor (2010-02-11 13:03:24,637 http-8080-Processor19_org.coursemanagement.LdapCourseManagementService)
DEBUG: TEST: getSections: course1 (2010-02-11 13:03:24,650 http-8080-Processor19_org.coursemanagement.LdapCourseManagementService)
DEBUG: TEST: getSections: course4 (2010-02-11 13:03:24,836 http-8080-Processor19_org.coursemanagement.LdapCourseManagementService)
DEBUG: TEST: getSections: course2 (2010-02-11 13:03:25,020 http-8080-Processor19_org.coursemanagement.LdapCourseManagementService)
DEBUG: TEST: getSections: course3 (2010-02-11 13:03:25,213 http-8080-Processor19_org.coursemanagement.LdapCourseManagementService)
DEBUG: Found 4 groups for nicola at longsight.com from resolver org.sakaiproject.coursemanagement.impl.provider.CourseOfferingRoleResolver (2010-02-11 13:03:25,402 http-8080-Processor19_org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider)
DEBUG: Adding course1 to groupRoleMap with sakai roleInstructor for user nicola at longsight.com (2010-02-11 13:03:25,402 http-8080-Processor19_org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider)
DEBUG: Adding course4 to groupRoleMap with sakai roleInstructor for user nicola at longsight.com (2010-02-11 13:03:25,402 http-8080-Processor19_org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider)
DEBUG: Adding course2 to groupRoleMap with sakai roleInstructor for user nicola at longsight.com (2010-02-11 13:03:25,402 http-8080-Processor19_org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider)
DEBUG: Adding course3 to groupRoleMap with sakai roleInstructor for user nicola at longsight.com (2010-02-11 13:03:25,402 http-8080-Processor19_org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider)
DEBUG: Found 0 groups for nicola at longsight.com from resolver org.sakaiproject.coursemanagement.impl.provider.CourseSetRoleResolver (2010-02-11 13:03:25,404 http-8080-Processor19_org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider)
DEBUG: ______________getGroupRolesForUser={course1=Instructor, course4=Instructor, course2=Instructor, course3=Instructor} (2010-02-11 13:03:25,405 http-8080-Processor19_org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider)

But still - nothing shown to the user in the GUI.

Can anyone let me know what I am missing here?

Thanks!


On Feb 11, 2010, at  9:30 AM, Nicola Monat-Jacobs wrote:

> Hi All -
> 
> I've never worked with the CM API before, so I'm wondering perhaps if you folks on the list can give me some guidance. We've got a Sakai 2.5.x environment and we'd like a very simple CM implementation - á là http://confluence.sakaiproject.org/display/CM/1+Simple+Course+Pattern
> 
> We'd like the faculty to be able to go to Worksite Setup and see the courses they have available to create/activate. However, although I can see in catalina.out that our implementation of findCourseOfferingRoles() is bringing up the relevant courses for Instructors, nothing is being shown to them in the Worksite Setup tool. What method does Worksite Setup look to to generate that list? It appears from the documentation that I don't need to implement Sections if I don't want them. 
> 
> Thanks!
> 
> Nicola Monat-Jacobs
> nicola at longsight.com
> 
> 
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100211/0c3c5305/attachment.html 


More information about the sakai-dev mailing list