Bug 126121 - Opening a file in use on SharePoint does not show user details
Summary: Opening a file in use on SharePoint does not show user details
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:6.4.0
Keywords:
Depends on:
Blocks: SharePoint
  Show dependency treegraph
 
Reported: 2019-06-26 22:56 UTC by Aron Budea
Modified: 2021-04-07 17:11 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 Aron Budea 2019-06-26 22:56:02 UTC
A SharePoint server WebDAV access enabled and two users is required to reproduce this bug. Both users should have access to a sample file.
Additionally, at least one of the users mustn't have the permission "Browse Directories - enumerate files and folders in a Web site using SharePoint Designer and Web DAV interfaces".

- Open the sample with the first user (eg. just paste the URL to the file in the file open dialog's file name field).
- Try opening the sample with the second user (the one that doesn't have the aforementioned permission).

=> The second user will get a 'Document in use' dialog, this is expected. However, it says the file is in use by an unknown user instead of the other user's name.
If the second user has the permission to browse directories, then the user name is shown in the dialog.

Observed using LO 6.4 daily build from 06-14 / Windows 7.
Comment 1 Mike Kaganski 2019-06-27 11:41:41 UTC
https://gerrit.libreoffice.org/71746
Comment 2 Commit Notification 2019-06-28 06:35:04 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/20b1e6440aacab043753e93be4499e939a80b05b%5E%21

tdf#126121: WebDAV redirection detection

It will be available in 6.4.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 Xisco Faulí 2019-06-28 15:44:24 UTC
Hi Mike, Aron,
Do you think it would be a good idea to backport it to 6-3 branch ?
Comment 4 Aron Budea 2019-06-29 22:05:39 UTC
I think this fix is only relevant to a small margin of users, and it's only about whether the user name is displayed in a dialog, so I wouldn't bother with backporting.