Zero in points possible column for assignment produces a division by zero error

Description

It shouldn't be possible to set this to a 0 thru the UI, but somehow we had a user do it. Probably the exception should be caught before it becomes a division by zero error.

Activity

Vernon O'Connor April 21, 2010 at 9:17 AM

QA VERIFIED ON PROD, QA PASS, GB2 version 1.2.0.

Peter Peterson March 15, 2010 at 3:23 PM

QA PASS - 3/15/2010

Vernon O'Connor March 9, 2010 at 2:58 PM

QA VERIFICATION ON rSmart26test TEST SERVER

Using PC Windows Vista Enterprise SP2, Firefox 3.6 & IE8, on:

SmartSite@UCDavis - 2.6.2.10_a2 - Sakai 2.6.1 - Server "rsmart26test2"
GB2 version 1.2.0-b3/sakai-2.6.1

QA TASK:

Verify addition of an additional check to verify that the create and update will not allow 0 max points on the server.

QA SUMMARY:

GB2 version 1.2.0-b3/sakai-2.6.1

SU as bcxjones
MAT 150C 001 SQ 2010

"Alert: The assignment could not be added to Gradebook. To add to Gradebook, edit the assignment and enter a value greater than zero for points."

Verified addition of an additional check to verify that the create and update will not allow 0 max points on the server, QA Pass.

Overall, QA Pass.

QA RESULTS:

Verified addition of an additional check to verify that the create and update will not allow 0 max points on the server, QA PASS.

Overall, QA PASS.

James Renfro February 4, 2010 at 1:12 PM

Added an additional check to verify that the create and update will not allow 0 max points on the server. This is more thorough than the existing form validation check on the client that was already there.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created February 3, 2010 at 3:14 PM
Updated June 29, 2010 at 1:58 PM
Resolved February 4, 2010 at 1:12 PM

Flag notifications