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

Unable to attach / embed files to workshop example submission

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.2
    • 3.1.1
    • Workshop
    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-55289-master-exsubmission
    • Hide
      1. Create new workshop instance and enable usage of example submissions.
      2. Define the assessment form.
      3. Define an example submission with an image embedded into the text and a file attached.
      4. Make sure the example submission is saved with the image embedded and the file attached correctly.
      Show
      Create new workshop instance and enable usage of example submissions. Define the assessment form. Define an example submission with an image embedded into the text and a file attached. Make sure the example submission is saved with the image embedded and the file attached correctly.

      When trying to add an example submission with an attachment, I click to add a file and get this:
      "Sorry, none of your current repositories can return files in the required format."

      Debugging mode shows further warnings:

      "Notice: Use of undefined constant FILE_INTERNAL - assumed 'FILE_INTERNAL' in mod/workshop/locallib.php on line 2495"

            mudrd8mz David Mudrák (@mudrd8mz)
            tigger996 Lori Bakken
            Simey Lameze Simey Lameze
            Andrew Lyons Andrew Lyons
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.