Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1942

Not showing an Error Message when surpassing the user quota in my private files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.4.0
    • 3.3.2
    • My files add-on
    • Hide
      1. In web as admin, login in a site with MDL-58712 applied and set a small userquota (something like 5MB). Site administration > Security > Site policies > User quota.
      2. In the app, login in that site using a student without any private file (you can delete them using the web interface).
      3. Go to private files and check that you don't see any message saying how much quota you have used.
      4. Upload any file with less than 5MB. Check that, after uploading it, you see a message saying you've used XMB of 5MB.
      5. Now try to upload a new file that surpasses the userquota combined with the previous file. Check that you see a warning telling you that you can't upload that file.
      6. Now login in the app using the admin user. Please notice you might have to manually create a token using the web interface: Site administration > Plugins > Web services > Manage tokens, click "Add" and create a token for the admin.
      7. Go to private files and check that you don't see the size warning even if you upload files.
      Show
      In web as admin, login in a site with MDL-58712 applied and set a small userquota (something like 5MB). Site administration > Security > Site policies > User quota. In the app, login in that site using a student without any private file (you can delete them using the web interface). Go to private files and check that you don't see any message saying how much quota you have used. Upload any file with less than 5MB. Check that, after uploading it, you see a message saying you've used XMB of 5MB. Now try to upload a new file that surpasses the userquota combined with the previous file. Check that you see a warning telling you that you can't upload that file. Now login in the app using the admin user. Please notice you might have to manually create a token using the web interface: Site administration > Plugins > Web services > Manage tokens, click "Add" and create a token for the admin. Go to private files and check that you don't see the size warning even if you upload files.
    • MOODLE_33_STABLE
    • MOODLE_34_STABLE
    • Moodle Mobile 3.4.0

    Description

      When trying to upload any file which will surpass the available space remaining, it shows an Upload successful message even though it won't upload. The error message shown in the web is the correct one: The file is larger than the space remaining in this area.

      This was solved here, but it's happening again: https://tracker.moodle.org/browse/MOBILE-647

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              bertamaroto Berta Maroto
              Pau Ferrer Pau Ferrer
              Juan Leyva Juan Leyva
              Berta Maroto Berta Maroto
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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