Consistently use postEvent(...) in Gradebook2ComponentServiceImpl to prevent potential NPE

Description

Consistently use postEvent(...) in Gradebook2ComponentServiceImpl to prevent potential NPE

Activity

Show:

David Woods May 25, 2011 at 3:19 PM

grade submission events created when expected.

David Woods May 25, 2011 at 3:17 PM

QA Test

on site with rosters and existing gradebook entries,
use the submit final grades option and answer yes to questions.
after the myucdavis bubblesheet tries to open, check the events in the sakai_event table for events for this site.
verify that an event was recorded to indicate the submission was done.

for site:DLW test ENL 117 A01-A06 FQ 2011 after final grade submission for 83 students found the following event:
gradebook2.submitFinalGrades /gradebook/084788a9-e17e-47fe-b3fe-a3030ddc0849/count/83

DLW test ENL 117 A01-A06 FQ 2011 has 83 students, which matches the count in the event data.

on a site with no current students,
submitted final grade for 0 students and got the following event:
gradebook2.submitFinalGrades /gradebook/b136468b-bf1e-4d2f-8936-6be00f429d69/count/0

QA Pass

Thomas Amsler May 24, 2011 at 12:31 PM

QA Test plan: retest

Thomas Amsler May 13, 2011 at 8:28 PM

Estimate : 0.5 SP

Thomas Amsler May 13, 2011 at 4:26 PM

Fixed

Details

Assignee

Reporter

QA Status

PASS

Components

Fix versions

Affects versions

Priority

Created May 13, 2011 at 3:33 PM
Updated May 25, 2011 at 3:19 PM
Resolved May 13, 2011 at 4:26 PM