This project has moved. For the latest updates, please go here.

CTP2 WebPart Error: InstructorQuerySet does not exist

Topics: User Forum
Aug 12, 2006 at 3:11 PM
The AssignmentListWebPart has the following error when logged in as SLK Instructor:
The query or query set, InstructorQuerySet, does not exist...
As SLK Learner, it's OK.
What's wrong?
Aug 12, 2006 at 5:30 PM
Accessing assignments as an instructor is not finished in CTP2, but the Assignment List web part does check the user's role and tries to use the appropriate query set. Thus the error.

For CTP2, I recommend modifying the ALWP web part properties and setting the query set override to "LearnerQuerySet". That will force the web part to always show the learner query set, regardless of the current user's role on the site. This is similar to how the web part was functioning in CTP1.

In CTP3, you won't need to do this because the instructor queries will be fully functional and the grading pages will be working. At that time, instructors will be able to access assignments via the ALWP.