uploading a file - "Loading" message remains

Bug #1095208 reported by Jiri Baum (Catalyst)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Ruslan Kabalin
1.7
Fix Released
Low
Ruslan Kabalin

Bug Description

When uploading a file, the "Loading ..." message at the top left of the screen remains.

Steps to reproduce:
1) Log in as Admin.
2) Go to Administration -> Site files.
3) Upload a file by clicking on the "Browse" button and selecting a file.
4) Observe that a "Loading ..." message appears in the top left-hand corner of the page and does not disappear.

There is a JavaScript error in the browser console, which may or may not be related to the problem:
  TypeError: elem is null
  if(typeof (elem.w)=="number"||typeof (elem.h)=="number"){
  js/MochiKit/Packed.js (line 3694)

Versions:
* master bf58c38
* 1.6_STABLE 4892034

Revision history for this message
Jiri Baum (Catalyst) (jiri-catalyst) wrote :

The same problem appears when uploading files to the Content -> Files area, whether as an admin, as a masqueraded normal user or as a real normal user.

Robert Lyon (robertl-9)
Changed in mahara:
status: New → Confirmed
Changed in mahara:
assignee: nobody → Ruslan Kabalin (rkabalin)
Revision history for this message
Ruslan Kabalin (rkabalin) wrote :

The problem caused by accessing $('artefactchooser-body') on the page that does not have this block, as result of JS error, formStopProcessing is not being called, thus 'Loading' remains on the page.

Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Ruslan Kabalin (rkabalin) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/2400
Committed: http://gitorious.org/mahara/mahara/commit/cb2c02db5f63eac9dfa3ce15e109832a965f8f82
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit cb2c02db5f63eac9dfa3ce15e109832a965f8f82
Author: Ruslan Kabalin <email address hidden>
Date: Mon Aug 12 16:36:02 2013 +0100

Fix "Loading" message issue. (bug #1095208)

Change-Id: I2e4c57709653a87950ca1a76505b99e4ca400085
Signed-off-by: Ruslan Kabalin <email address hidden>

Aaron Wells (u-aaronw)
Changed in mahara:
status: In Progress → Fix Committed
milestone: none → 1.8.0rc1
Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/2401
Committed: http://gitorious.org/mahara/mahara/commit/83b2d1db1ecb9adc95622ffd4ecfc5cc12740880
Submitter: Aaron Wells (<email address hidden>)
Branch: 1.7_STABLE

commit 83b2d1db1ecb9adc95622ffd4ecfc5cc12740880
Author: Ruslan Kabalin <email address hidden>
Date: Mon Aug 12 16:36:02 2013 +0100

Fix "Loading" message issue. (bug #1095208)

Change-Id: I2e4c57709653a87950ca1a76505b99e4ca400085
Signed-off-by: Ruslan Kabalin <email address hidden>

Aaron Wells (u-aaronw)
Changed in mahara:
importance: Undecided → Low
Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 1.8rc1 → 1.8.0
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.