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

Assignment workflow marking release throws error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.4
    • Fix Version/s: 2.6.5
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide

      Steps to reproduce:
      0) Make sure that installation is set up to use grading workflows
      1) Create (or use pre-existing) Assignment activity with option to use workflows enabled
      2) Have at least two submissions with the workflow state "In marking"
      3) Check that these students cannot view the grades
      4) On the submission table page select the relevant submissions (from the "View/grade all submissions" link.)
      5) From the "With selected..." drop down menu select "Set marking flow state." Click "Go"
      6) Set "Marking flow state" to "Released"
      7) Click "Save changes"
      8) You should not get an error
      9) Confirm that relevant students can now see the grades

      Show
      Steps to reproduce: 0) Make sure that installation is set up to use grading workflows 1) Create (or use pre-existing) Assignment activity with option to use workflows enabled 2) Have at least two submissions with the workflow state "In marking" 3) Check that these students cannot view the grades 4) On the submission table page select the relevant submissions (from the "View/grade all submissions" link.) 5) From the "With selected..." drop down menu select "Set marking flow state." Click "Go" 6) Set "Marking flow state" to "Released" 7) Click "Save changes" 8) You should not get an error 9) Confirm that relevant students can now see the grades
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE

      Description

      In the Assignment module...

      mod/assign/locallib.php, line 6032

      $assign->gradefeedbackenabled = $this->is_gradebook_feedback_enabled();
      

      ...throws error when trying to set workflow to 'release':

      There is no defined is_gradebook_feedback_enabled().
      

      Displays blank page and fails to update 'workflowstate' in table mdl_assign_user_flags.

        Attachments

          Activity

            People

            Assignee:
            kwiliarty Kevin Wiliarty
            Reporter:
            bspevak@wowway.com Bruce Spevak
            Peer reviewer:
            Neill Magill
            Integrator:
            Damyon Wiese
            Tester:
            Damyon Wiese
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            17 Vote for this issue
            Watchers:
            19 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              8/Sep/14