Error displaying textbook lists in course site with more than one roster
Description
When the textbook tool is accessed in a class site with more than one roster, it results in an error that is reported to the user as if it results in infinite recursion. A message is displayed in place of the textbook tool saying that the request will never return results.
In ctools production, I created a site for a class with a lecture and two lab sections. I added all three rosters to the site. The infinite recursion message is displayed when a user accesses the textbook tool in the course site. The error is not encountered when the user accesses data about the class in the textbook tool in MyWorkspace. If I remove the rosters for the two lab sections, the textbook tool works fine in the class site. If I add back one of the lab rosters, the infinite recusion error occurs again. Removing it restores the correct view of the tool.
Activity
Show:
Norhal El Halwagy January 8, 2009 at 11:09 AM
verified as complete. Test CTools - [r55848] - Sakai Sakai_2-5-3O - Server crab
Jim Eng January 7, 2009 at 5:57 PM
Fixes merged to trunk
Jim Eng January 7, 2009 at 5:22 PM
There were two problems:
1) TextbookLogic was parsing groupProviderId's instead of depending on the GroupProvider to unpack those id's. That impl was doing it based on the specific umich impl of providerId's and it was doing it incorrectly even for umich.
2) In cases where more than one course object was returned, the RSF provider attempted to set values for a couple elements more than once. This caused an RSF error that was not handled very well.
Bith problems are fixed in 0.9.v and 0.9RC07. The fix needs to be merged to trunk.
Jim Eng January 5, 2009 at 12:37 PM
The error message shown in Firefox says this:
Redirect Loop Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
Jim Eng January 4, 2009 at 5:16 PM
This seems to be the problem I mentioned a couple days ago. The immediate workaround is to remove rosters for lab sections or discussion sections if that's possible.
I think this gives us a way to reproduce the problem and check to see whether UMIAC handles this case correctly or if the problem is in sakai.
When the textbook tool is accessed in a class site with more than one roster, it results in an error that is reported to the user as if it results in infinite recursion. A message is displayed in place of the textbook tool saying that the request will never return results.
In ctools production, I created a site for a class with a lecture and two lab sections. I added all three rosters to the site. The infinite recursion message is displayed when a user accesses the textbook tool in the course site. The error is not encountered when the user accesses data about the class in the textbook tool in MyWorkspace. If I remove the rosters for the two lab sections, the textbook tool works fine in the class site. If I add back one of the lab rosters, the infinite recusion error occurs again. Removing it restores the correct view of the tool.