External video timeout

Bug #548087 reported by Alex Botten
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Richard Mansfield

Bug Description

I linked to an incorrect url for an external video in a view, and when I went to edit the view the system "hung" while trying to load the video. I couldn't edit anything else in the view and it didn't time out.

I know this was user error (incorrect url), but at the same time I know our users are likely to make this same error. Should the system timeout?

Alex Botten
IT / Marketing Manager

PS: Please note the new address change below and my direct dial number is now 01790 755780.

Osiris Educational Woodhall Spa Ltd
Raithby Hall
Raithby
SPILSBY
PE23 4DS

T: 01790 753987
F: 01790 755288
E: <email address hidden>
W: www.osiriseducational.co.uk

VAT Reg: 865590682
Company No: 05510761

This bug was imported from eduforge.org, see:
https://eduforge.org/tracker/index.php?func=detail&aid=3040&group_id=176&atid=739

Revision history for this message
Nigel-catalyst (nigel-catalyst) wrote :

This is an interesting issue to try and deal with.

The reason that it hangs is because we are waiting until the entire DOM is ready before displaying to the user, otherwise the javascript won't be working properly and the page will jump about a lot.

But some things like videos and RSS feeds may well take a long time to load.

We might have to think about:

* Putting short timeouts on things like grabbing RSS feeds
* Replacing slow-loading things with 'loading' messages while the DOM loads, and replace those with the actual items once the page is done.

Changed in mahara:
milestone: none → 1.3.0
Changed in mahara:
status: Confirmed → Triaged
Changed in mahara:
assignee: nobody → Richard Mansfield (richard-mansfield)
status: Triaged → Confirmed
Revision history for this message
Richard Mansfield (richard-mansfield) wrote :

I am able to reproduce this, but only in IE.

Revision history for this message
Richard Mansfield (richard-mansfield) wrote :

IE won't load the view editor at all until everything else is loaded on the page, so invalid urls in external videos will result in an uneditable view. Fixing this for now by leaving the video embed code out of the view editor page until after the onload event.

Changed in mahara:
status: Confirmed → Fix Committed
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.