← Back to team overview

mahara-contributors team mailing list archive

[Bug 1508300] A change has been merged

 

Reviewed:  https://reviews.mahara.org/8149
Committed: https://git.mahara.org/mahara/mahara/commit/51fa305e871c2b5f5c92a5e92c89105afbd48adf
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 51fa305e871c2b5f5c92a5e92c89105afbd48adf
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Mon Oct 16 20:45:35 2017 +1300

Bug 1508300: Adding notice to PDF block config

About the danger of displaying big PDF files

behatnotneeded

Change-Id: I451c6daafc0d1fa537e4d3fdeb16d164be92ac0a
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
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/1508300

Title:
  Embedded PDFs aren't always displayed

Status in Mahara:
  Fix Committed

Bug description:
  Noticed in Mahara 1.10; testing on 15.04 and 15.10 needed:

  When a page contains many embedded PDFs, the following can happen (all at once):
  - some PDFs are displayed
  - others show an error message
  - others show a Mahara login box
  - you can be logged out completely

  An initial investigation couldn't replicate the issue successfully and
  it seemed to happen intermittently. From what we gathered, it seems to
  be a rendering / loading / overloading issue: Too many instances of
  pdf.js try to be loaded at the same time causing timeouts and other
  weird behavior.

  I see two possibilities:
  1. Limit the number of PDFs that can be embedded on a page
  2. Load PDF blocks progressively one after the other

  I don't know if the second option would mitigate the problem or not.
  The first one could be limiting user's creativity, but would prevent
  endless waiting for a page to load with the content.

  Further insight is needed before a final decision can be made on how
  to continue from here.

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


References