Details
-
Type:
Bug
-
Status: RESOLVED
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 20.2, 21.0 [Tentative], 22.0 [Tentative]
-
Fix Version/s: 22.0 [Tentative]
-
Component/s: Assignments
-
Labels:None
-
21 Status:Please Merge
-
20 status:Please Merge
-
Test Plan:
Description
While recent versions of Sakai prevent the deletion of groups used for assignments, older versions did not and any school that has been running Sakai for more than a few years could run into these issue in older sites.
The first problem was introduced by me when I fixed SAK-44778. The assignment list shows a velocity variable name instead of the group count for group-released assignments if all the groups have been deleted ("$groupTitleList.size() Selected Groups"). This is because of a swallowed NPE thrown by my fix. It also causes a stack trace on the instructor view of the assignment.
When fixing the first problem, I noticed another issue, which is that when there are no existing groups for the assignment, Sakai used to display a message advising instructors to fix the assignment, but now it will just show "0 Selected Groups". This changed around the time of the assignments refactor for Sakai 12. The code path that displays the message is no longer reachable.
I will submit a PR to fix the NPE and restore the message.
Gliffy Diagrams
Zeplin
Attachments
Issue Links
- relates to
-
SAK-44778 Regression: Assignment List > Selected Groups no longer sorted
-
- CLOSED
-