← Back to team overview

mahara-contributors team mailing list archive

[Bug 1732810] Re: Pdf viewer download button save file as real title of pdf

 

Environment to be tested: Master
Browser to be tested: Any browser

Precondition:

1. Normal user ‘User one’ should exist.
2. A Page ‘Page 01’ should exist.
3. A PDF file ‘Test.pdf’ should exist in Main menu > Content > Files.
4. A PDF file ‘Test1.pdf’ should exist on your computer.
Steps to reproduce:

1. Log in as ‘User one’.
2. Navigate to Main menu > Portfolio > Pages and collections.
3. Click the 'More' icon and then the 'Edit' button for ‘Page 01’.
4. Expand the ‘Media’ panel and click the ‘PDF’ button.
5. Click the ‘Add’ button.
6. Expand the ‘File’ panel.
7. Select the ‘Test.pdf’ file and click the ‘Save’ button.
8. Move the scroll bar to the right in the PDF block, so that we can see the ‘Toolbar advanced menu’.
9. Click the ‘Toolbar advanced menu’ button.
10. Click the ‘Download’ button.

Expected result: The document should be downloaded as ‘Test.pdf’

11. Click the 'PDF' button from the 'Media' panel.
12. Click the ‘Add’ button.
13. Expand the ‘File’ panel.
14. Click the 'Browse' button and select 'Test1.pdf' from the computer.
15. Click the ‘Save’ button.
16. Move the scroll bar to the right in the PDF block, so that we can see the ‘Toolbar advanced menu’.
17. Click the ‘Toolbar advanced menu’ button.
18. Click the ‘Download’ button.

Expected result: The document should be downloaded as ‘Test1.pdf’.

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

Title:
  Pdf viewer download button save file as real title of pdf

Status in Mahara:
  In Progress

Bug description:
  Currently defaults to 'document.pdf' because we don't pass the real
  title to the download button

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


References