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

Qtype_essay file-size limit: it says "0 bytes" for students when "Site upload limit" is set

    XMLWordPrintable

Details

    • MOODLE_310_STABLE
    • MOODLE_310_STABLE
    • MDL-70153-311
    • MDL-70153-master
    • Hide
      1. Create a course.
      2. Create a quiz in the course.
      3. Add an essay question to the quiz with the following settings:
        1. Response Options > Allow attachments: Unlimited.
        2. Response Options > Maximum file size: Site upload limit.
      4. Enrol a student in the course.
      5. Login as the student and attempt the quiz.
      6. In the essay file picker, check that it says "Maximum size for new files: XMB", where "XMB" is the max size that the site allows. E.g. 256MB. It should not say 0 bytes.
      Show
      Create a course. Create a quiz in the course. Add an essay question to the quiz with the following settings: Response Options > Allow attachments: Unlimited. Response Options > Maximum file size: Site upload limit. Enrol a student in the course. Login as the student and attempt the quiz. In the essay file picker, check that it says "Maximum size for new files: XMB", where "XMB" is the max size that the site allows. E.g. 256MB. It should not say 0 bytes.

    Description

      How to reproduce:

      1. Create a course.
      2. Create a quiz in the course.
      3. Add an essay question to the quiz. Make sure to allow attachments and set "Maximum file size" to "Site upload limit".
      4. Enrol a student in the course.
      5. Login as the student and attempt the quiz.
      6. In the essay file picker it says: Maximum file size: 0 bytes.

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              dpalou Dani Palou
              Tim Hunt Tim Hunt
              Andrew Lyons Andrew Lyons
              Anna Carissa Sadia Anna Carissa Sadia
              Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Jan/21

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 5 minutes
                  3h 5m