← Back to team overview

mahara-contributors team mailing list archive

[Bug 1904946] Re: Filebrowser - Uploading number of files exceed limit give never-ending spinner

 

** Changed in: mahara
    Milestone: None => 21.04.0

** Changed in: mahara
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1904946

Title:
  Filebrowser - Uploading number of files exceed limit give never-ending
  spinner

Status in Mahara:
  In Progress

Bug description:
  In the /etc/php/7.2/apache2/php.ini files it states max_file_uploads =
  20

  Trying to upload more than max_file_uploads in one request will cause
  the wrong error messages to appear.

  Reproduce:
  1. Create -> Files -> Browse
  2. Select 21 files and click 'ok'

  Expect:
  - Info messages appear for each upload-file saying it's being uploaded
  - Once uploaded, the matching info message turns to a temp success message (green) and disappears
  - All the selected files have been uploaded and appear in the user's list of files

  Actual:
  - Info messages appear for each upload-file saying it's being uploaded
  - The the 21st file does not get uploaded due to the restriction but the user doesn't know about the restriction
  - The info message matching the 1st file in the selected upload-list stays forever spinning.

  Notes:
  - Even if a message stays spinning forever because there was a file(s) that didn't get uploaded, the text in the message should match the non-uploaded file
  - There should be a message informing the user of the max number of files they're allowed to upload at any one time
  - The filebrowser could prevent the user from selecting more than the max_file_uploads number

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1904946/+subscriptions


References