forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAM-2674 When shuffling items, cope with blank instructions
Previously this would throw an NPE when a randomized item had no instruction text. Also clarifies the logic around which item types can and can't be randomized, as SAM-1816 corrected a bug with calculated questions that stemmed from a complicated boolean, and NYU hit a similar case locally with the "hotspot" question type in the same piece of code.
- Loading branch information
1 parent
4cfc37d
commit fa41b0b
Showing
1 changed file
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters