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

Atto file picker does not seem to respect the Site upload limit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.9.4, 3.0.2, 3.1
    • Fix Version/s: None
    • Component/s: HTML Editor (Atto)
    • Labels:
      None
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE

      Description

      I accidentally played with the atto file picker because I thought it is the area that was fixed in MDL-51117.

      My settings:

      • PHP
        1. upload_max_filesize=100M,
        2. post_max_size=8M
      • Site upload limit = 1MB.

      When I try to drag and drop a file greater than 1MB, it still gets uploaded.
      Then I tried uploading a file that is greater than 8MB and the error alert dialogue comes up, as expected.

        Attachments

        1. 1MB Site upload limit.png
          47 kB
          Jun Pataleta
        2. 4.7MB image file.png
          21 kB
          Jun Pataleta

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jpataleta Jun Pataleta
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: