|
Minor bug in reusable option sets |
|
|
|
|
Wednesday, 06 September 2006 |
|
When editing assignments, Manuel Perez pointed out a small bug in the list of reusable option sets available to instructors. The list only shows currently active option sets that are used on at least one assignment for some offering of the current course. I fixed this bug.
The WebObjects fetch specification I was using to collect the list was designed to retrieve any reusable option sets created by the current user or any associated with the same grading plug-in in other assignments for the current course. The problem is that the way WO generated SQL for the fetch specification wasn't quite correct--the restrictions on the join needed to retrieve option sets for other assignments were always in effect, even when attempting to retrieve any other option sets created by the current user. I had to split the fetch into two fetches, which fixed the problem.
So if you've had problems with named reusable option sets "disappearing", check again--they might have reappeared! |