← Back to team overview

mahara-contributors team mailing list archive

[Bug 1221001] Re: Embedded PDFs don't display to logged-out users

 

Turns out there were two problems. The lack of artefact/lib.php, and the
lack of a "view" parameter on the file download link (embedded PDF just
downloads the PDF into your browser and displays it with JS).

https://reviews.mahara.org/2475

** Changed in: mahara
       Status: Triaged => Confirmed

** Changed in: mahara
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Changed in: mahara
    Milestone: None => 1.8.0rc1

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

Title:
  Embedded PDFs don't display to logged-out users

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  I thought I was having problems with embedded PDFs not displaying
  properly in Chromium and FF, but it turns out the problem was that I
  was viewing them while logged in (since I was editing the page) in FF,
  and then to save time I was viewing them while logged out in my other
  browsers.

  To replicate:

  1. Create a page that has an embedded PDF.
  2. Make the page viewable by Public
  3. Log out
  4. View the page (while logged out)

  Expected result: You should be able to see the embedded PDF
  Actual result: You see only the embedded PDF block's title (in FF and Chromium) or the title and a grayed-out scrollbar (in IE).

  So it looks like the problem may be that some of the JS is not getting
  included into the page when a logged-out user views it.

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


References