Bug 109211 - All documents are opened as readonly in LOOL
Summary: All documents are opened as readonly in LOOL
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-19 13:32 UTC by Dark Star1
Modified: 2017-07-26 11:07 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dark Star1 2017-07-19 13:32:00 UTC
As of commit #92cdab8bf8ea1a72e1745b88e9e31b59560e6f7b from the Github mirror, documents are only opened as read only.

I believe the issue arises here: 
1 -> https://github.com/LibreOffice/online/blob/master/wsd/DocumentBroker.cpp#L436
which leads to 
2 -> https://github.com/LibreOffice/online/blob/master/wsd/LOOLWSD.hpp#L88
Comment 1 Xisco Faulí 2017-07-23 11:44:00 UTC
@Aron, could you please confirm this?
Comment 2 Xisco Faulí 2017-07-23 22:32:28 UTC
Moving it back to UNCONFIRMED until someone else confirms it.
Comment 3 Dark Star1 2017-07-26 11:07:27 UTC
I tracked down the bug to the actual WOPI host sending the BaseFileName parameter in the WOPI CheckInfo response as just the filename without the file extension.