Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAM-2717 - Handle copy of null grading attachments
There is a setter for the grading attachment list on AssessmentGradingData, which wraps an underlying HashSet. When copying, for example, from AgentResults, where there are no attachments, the HashSet constructor on the null value throws an InvocationTargetException, which obscured the problem. This change creates a new, empty set if null is passed to this setter.
- Loading branch information