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

Group submissions with annotated PDF fails (attemptnumber null value issue)

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      (seamlessly taken from MDL-47123)
      1. Create an assignment activity with the settings:

      • Students submit in groups - Yes
      • Require all group members submit - No

      2. As a student, submit a pdf assignment file.
      3. Grade this group submission, and include an annotated PDF while grading
      4. When returning to the "View/grade all submissions" page you should see the grading page (not "Error writing to database" error).

      Show
      (seamlessly taken from  MDL-47123 ) 1. Create an assignment activity with the settings: Students submit in groups - Yes Require all group members submit - No 2. As a student, submit a pdf assignment file. 3. Grade this group submission, and include an annotated PDF while grading 4. When returning to the "View/grade all submissions" page you should see the grading page (not "Error writing to database" error).
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Pull Master Branch:
      MDL-58539_master

      Description

      This seems to be an issue originally fixed in MDL-44304, but then re-introduced in MDL-45969.

      The issue appearance is identical to -MDL-44304-

      ERROR: null value in column "attemptnumber" violates not-null constraint

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kabalin Ruslan Kabalin
                Reporter:
                kabalin Ruslan Kabalin
                Peer reviewer:
                David Monllaó
                Integrator:
                Andrew Nicols
                Tester:
                Ankit Agarwal
                Participants:
                Component watchers:
                Damyon Wiese, Adrian Greeve, Mihail Geshoski, Peter Dias, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/May/17