uploading multiple files - only last one gets marked complete

Bug #1182649 reported by Robert Lyon
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Aaron Wells

Bug Description

Problem with the javascript not marking all file uploads as complete.

Using firefox on Ubuntu - Steps to reproduce:
1) Go to Content -> Files and click the Upload file box
2) Select multiple files to upload and click 'Open'

All the selected files show the 'Uploading ...' message but only the last one then ticks over to 'Uploaded ...'.

Refreshing the page shows that all the files have actually uploaded.

Note: I was using 6 small image files to test with (between 7kb - 600kb).

Tags: bitesized
Changed in mahara:
status: New → Triaged
Revision history for this message
Dominique-Alain JAN (dajan) wrote :

I have noticed the same effect on a few Mahara installation including mine.

Revision history for this message
Aaron Wells (u-aaronw) wrote :

Yep, I was able to replicate it as well. I see the same thing when I upload as few as two files at the same time. It must be a bug in the filebrowser Javascript. The callback that gets fired off when the upload is finished, must only be finding and clearing the spinner for the last status line.

Changed in mahara:
assignee: nobody → Aaron Wells (u-aaronw)
Revision history for this message
Aaron Wells (u-aaronw) wrote :

Turns out this was a regression caused by the fix for Bug#1057846. I've whipped up a fix which I've pushed to https://reviews.mahara.org/2268

Changed in mahara:
milestone: none → 1.8.0rc1
status: Triaged → In Progress
Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 1.8rc1 → 1.8.0
Revision history for this message
Aaron Wells (u-aaronw) wrote :
Changed in mahara:
status: In Progress → Fix Committed
Aaron Wells (u-aaronw)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.