loviewer says a document is corrupt when it's only protected by a password

Bug #1524712 reported by Stefano Verzegnassi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Document Viewer App
Fix Released
Low
Stefano Verzegnassi

Bug Description

Steps to reproduce:
1) Launch DocViewer
2) Pick from the list a LibreOffice document protected by a password
3) Try to load it with our LibreOfficeKit viewer.

What happens:
DocViewer will show a dialog, saying that the document is corrupt.

What should happens:
DocViewer's error message should consider that the document may be protected.

===
LibreOfficeKit doesn't seem to be able to detect that a document is protected. The string lok::Office::getError() returns don't mention this possibility (just says that lok::Document is null).

For now, we can only update the error string at http://bazaar.launchpad.net/~ubuntu-docviewer-dev/ubuntu-docviewer-app/lo-viewer/view/head:/src/app/qml/loView/LOViewPage.qml

Tags: loviewer

Related branches

Changed in ubuntu-docviewer-app:
status: Triaged → In Progress
importance: Undecided → Low
assignee: nobody → Stefano Verzegnassi (verzegnassi-stefano)
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-docviewer-app at revision 243, scheduled for release in ubuntu-docviewer-app, milestone ww02-2016

Changed in ubuntu-docviewer-app:
status: In Progress → Fix Committed
Changed in ubuntu-docviewer-app:
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.