Bug 131179

Summary: Android Viewer crashes trying to open document containing comments
Product: LibreOffice Reporter: Michael Weghorn <m.weghorn>
Component: Android ViewerAssignee: Michael Weghorn <m.weghorn>
Status: RESOLVED FIXED    
Severity: normal CC: iuri.ena, m.weghorn
Priority: medium    
Version: 7.0.0.0.alpha0+   
Hardware: All   
OS: All   
Whiteboard: target:7.0.0
Crash report or crash signature: Regression By:
Attachments: Sample document containing a comment

Description Michael Weghorn 2020-03-06 09:34:40 UTC
Created attachment 158436 [details]
Sample document containing a comment

When trying to open an ODT doc containing comments, LibreOffice Android Viewer crashes.

Steps to reproduce: open attached document "sample_with_comment.odt"

Result: Crash

Using Android Viewer built from current master, as of commit cedc8a942e451a63dd1e7dae7f25642c0fcb4be8
Comment 1 Michael Weghorn 2020-03-06 09:35:26 UTC
I've analysed the issue and will provide a fix myself, this ticket is mainly for documentation purposes.
Comment 2 Commit Notification 2020-03-06 15:48:00 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9989f7870cfb82722cf2fd6b9cfdf7aea77c0011

tdf#131179 android: Support docs containing comments

It will be available in 7.0.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Michael Weghorn 2020-03-09 15:24:32 UTC
*** Bug 119762 has been marked as a duplicate of this bug. ***