-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lock information coming from collaboration service is shown empty #11008
Comments
Good point 🤔 For the lock information shown in the details panel I would actually like to have both. @jvillafanez could you please make sure that the cc @tbsbdr |
Maybe @micbar can double-check what information I should provide... As far as I know, the lock is hold by the app (Collabora in this case). Including a user would show something like For the
This is why I'm not sure if it's a good idea to use the
This is also something to discuss. I think we can remove the |
Thanks for the context, that's really helpful! I agree, showing the For the |
Please let us check that we are in line with the rfc. The locking info is part of the WebDAV RFC where we should be compatible. |
@jvillafanez just checked this again together with @JammingBen and @AlexAndBear and we wanted to do the following:
I have the following issue now: the fields in 1. and 2. don't match. For OnlyOffice the values are:
Is there any chance that we can have these 2 matching? I.e. use the |
We could change the default value in https://github.com/owncloud/ocis/blob/master/services/collaboration/pkg/config/defaults/defaultconfig.go#L29 in order to match, but I'm not sure if it makes sense.
Maybe we should try this and check if it's good enough. In this case, the lock info would be just |
That would be nice, thank you! |
owncloud/ocis#10447 should do for the server side. There is a little detail regarding what to do with the corresponding config option, but the code should work. |
Describe the bug
The lock information shown for the file details is empty if the file is locked with the new collaboration service
Steps to reproduce
Expected behavior
The details should show a "Locked by" with some information
Actual behavior
The "Locked by" is empty
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Additional context
The locked file is the "Untitled 3.docx" file. Propfind below.
I'd expect the
<d:owner>com.github.owncloud.collaboration.Collabora</d:owner>
info to be shown as "locked by".As far as I've seen in the code, the
oc:ownername
property is used instead, which is missing in the propfind. The property comes from opaque information (https://github.com/cs3org/reva/blob/edge/internal/http/services/owncloud/ocdav/propfind/propfind.go#L1767-L1771), so I'm not sure if we should use that because it seems to be considered as optional information that might not be present.The text was updated successfully, but these errors were encountered: