Update points in grading pane of lessons tool

Description

When attempting to grade responses to a question in the Lessons Builder tool one can only update one score at a time.  If you do not press enter and click into the next cell to update the next grade and then click the "update grade" button it will only update the most recent grade.  It is recommended to have it update all grades or when focus is lost update the grade possibly.

Steps to reproduce attached but simple description is as follows:

1.) Create new lesson page

2.) "Add Content"

3.) "Add Question"

4.) Select "Short Answer" 

5.) Enter "Question Text"

6.) Enter "Possible Answers"

7.) Select "Grade this question"

8.) Enter a title for the Gradebook

9.) Assign the maximum number of points.

10.) Click "Save"

There must be some submissions to grade but once you have created some entries:

11.) Open the "Lessons" tool

12.) Select the "Grading Pane"

13.) Update the grade(s) **Note if enter is not pushed or "Update Points" is not clicked the grades will not be updated **

Attachments

3

Activity

Show:

Andrea Schmidt March 21, 2021 at 1:34 PM

Verified on 20x: https://qa20-mysql.nightly.sakaiproject.org/, build: 88356ad0 

Paul Lukasewych February 23, 2021 at 8:24 AM

As per previous comments, marking this as verified again.

Paul Lukasewych February 17, 2021 at 5:57 AM
Edited

Sorry, I didn't remember writing the test plan. I think my intention with step 3 was just to make sure that you can still save grades successfully on the comments grading panel since the fix involved changing the javascript on both panels, and a quick regression check on the comments page grading. I'll change it.

Andrea Schmidt February 16, 2021 at 7:54 PM

I was following the test plan. The description doesn't include the extra step, but the test plan has the following (step 3):

Repeat the tests when grading comments both on the page itself and in the "Grade comments" panel

If grading comments on the page itself should not be included, then this Jira can be set to verified.

Paul Lukasewych February 16, 2021 at 6:58 AM

This ticket was specifically about about the grading pane, where there is an "Update Points" button that is intended to save all the unsaved scores. There was a bug with that button that prevented it from saving all the scores, which I fixed.

On the main comments page, there is no "Update Points" button or similar "save all" functionality. Individual scores have to be saved by pressing Enter in the field. If they are not saved in this way they will remain highlighted in red. This appears to be the original design and not a bug. If there is a desire to change this behaviour to do something like automatically saving the individual scores as focus is lost, I think that should be a separate ticket that would then have to apply to all grading in Lessons.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Environment

Sakai 11.4 using Windows 10 with Chrome

Created July 10, 2017 at 8:46 AM
Updated March 21, 2021 at 1:35 PM
Resolved February 23, 2021 at 8:24 AM