Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-40422

Gradebook Ajax autosave broken by locked or ungraded items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.3.6
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-40422_master
    • Testing Instructions:
      Hide

      In a course with multiple grade items, lock at least one grade. Set another grade item to no grade (GRADE_TYPE_TEXT). Enable AJAX in the grader report, turn editing on and ensure that grader report functions as expected (AJAX autosave, ctrl+arrow keys to navigate, Update button hidden/disabled depending on Moodle version).

      Show
      In a course with multiple grade items, lock at least one grade. Set another grade item to no grade (GRADE_TYPE_TEXT). Enable AJAX in the grader report, turn editing on and ensure that grader report functions as expected (AJAX autosave, ctrl+arrow keys to navigate, Update button hidden/disabled depending on Moodle version).

      Description

      The Gradebook Ajax autosave functionality can be used both with editing turned on or off. In this case, we are looking at editing turned on, where you can input any grades which would be auto-saved (background turn to orange) every time you change student or column, without having to click on update at the end (it's not functional if Ajax's working anyway) or enter on the keyboard. However, if you lock a column or an individual grade, the autosave does not work anymore, and must click enter after each entered grade or after entering all to save. The autosave also fails to initialise if there are any ungraded items (GRADE_TYPE_TEXT) in the course's gradebook.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              paul.n Paul Nicholls
              Reporter:
              chad053 Arshad Hussanee
              Integrator:
              Damyon Wiese Damyon Wiese
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: