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

Unable to attach / embed files to workshop example submission

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.1
    • 3.1.2
    • 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.

    Description

      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"

      Attachments

        Issue Links

          Activity

            People

              mudrd8mz David Mudrák (@mudrd8mz)
              tigger996 Lori Bakken
              Simey Lameze Simey Lameze
              Andrew Lyons Andrew Lyons
              Frédéric Massart Frédéric Massart
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Sep/16

                Time Tracking

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