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

mod_workshop: Error writing to database when adding example submission

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.7.4
    • Fix Version/s: None
    • Component/s: Workshop
    • Labels:
    • Affected Branches:
      MOODLE_37_STABLE

      Description

      The Error writing to database is displayed when adding an example submission for the mod_workshop activity.

      1. Create a course.
      2. Turn editing on.
      3. Add a Workshop activity.
        • name: Workshop activity
        • description: Testing
        • Submission settings: Instructions for submission: Submit testing....
        • Submission settings: Submission type: (only) File attachment
        • Example submissions: Use examples: ticked/enable.
      4. Save the Workshop settings and view the activity.
      5. Click the "Setup phase" / Edit assessment form" link.
        • Aspect 1: Description: Test123.
      6. Click "Save and preview".
      7. For Aspect 1: Test 123
        • Grade for Aspect 1: 10 / 10
        • Comment for Aspect 1: Testing comments.
      8. Click "Back to editing form".
      9. Click "Save and close".
      10. Visit back the Workshop activity and ensure that the Setup phase has green tick for the following:
      • Set the workshop description
      • Provide instructions for submission
      • Edit assessment form
      1. Click the "Add example submission" button to add a submission.
        • Title: s1.
        • Attachment: upload any file
      2. Click "Save changes".

      Result:
      Error message displayed is displayed. Please refer to the attachments.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jebarvia Joshua Ebarvia
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: