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

Students are unable to view submissions to assignments with marking workflow and allocated markers

    XMLWordPrintable

Details

    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • Hide
      1. Create a course with 1 student
      2. Create a group in the course
      3. Put a student in a group
      4. Create an assignment with the following options:
        1. Student submits in group: Yes
        2. Marking workflow: Yes
        3. Marking allocation: Yes
      5. As a student, visit the assignment and verify you do not see the error 'You can't add comments'
      Show
      Create a course with 1 student Create a group in the course Put a student in a group Create an assignment with the following options: Student submits in group: Yes Marking workflow: Yes Marking allocation: Yes As a student, visit the assignment and verify you do not see the error 'You can't add comments'

    Description

      Since deploying MDL-57766 our students are unable to view submissions on assignments with workflow enabled. They get 'nopermissiontocomment' error thrown.

      When viewing the assignment, list_participants returns an empty array as the allocatedmarker filter SQL-side is set to the student's ID (USER->id) which is incorrect.

      See here: https://github.com/moodle/moodle/commit/609d5f18266a7fdc721303c864e54e973afe8a1d#diff-c78f4d657da22cf5ddfb4d13335bb97eR1613

      Attachments

        Issue Links

          Activity

            People

              pavel.m.sokolov Pavel Sokolov
              skylarkelty Skylar Kelty
              Damyon Wiese Damyon Wiese
              David Monllaó David Monllaó
              Marina Glancy Marina Glancy
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/May/17