You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ocis vs ldap. Cannot share a file that is open in collabora #6197
Bob create a doc
2 Bob edit and close a doc
3 Bob share a doc to Oggy
4 Oggy open a doc
5 Bob going to share the doc with Jack -> lock ! Oggy left the doc opened for a long time!
@tbsbdr Is the frontend should provide this message?
I can return create share <?xml version="1.0" encoding="UTF-8"?> <ocs><meta><status>error</status><statuscode>423</statuscode><message>add grant: error: locked by opaquelocktoken:797356a8-0500-4ceb-a8a0-c94c8cde7eba RCtDdTFGUmE5K3JnRU1mdDhYSUpHQT09</message></meta></ocs>
or more common message and then the client has to determine what exactly is locked.
Activity
micbar commentedon May 2, 2023
The file is locked, that is the reason why this doesn't work.
@tbsbdr @kulmann This demands better error handling.
tbsbdr commentedon May 2, 2023
assessing as p2 as it can block collaboration with no workaround (example: this bug can stop a teaching lesson for certain pupils)
micbar commentedon May 2, 2023
Error handling will not enable sharing a locked resource.
2403905 commentedon May 11, 2023
@micbar What error users have to see?
2403905 commentedon May 11, 2023
@ScharfViktor Looks like we have multiple bugs.
1.1 The document still opened via only office
1.2 If Sharer try share one more time the response will be
1.3 Goto files/shares/with-others -> the share is already created!
2.1 Sharee can see Notifications!
2.2 goto shares -> files/shares/with-me is empty
2403905 commentedon May 11, 2023
@micbar @tbsbdr How to handle the case below?
Case 2
2 Bob edit and close a doc
3 Bob share a doc to Oggy
4 Oggy open a doc
5 Bob going to share the doc with Jack -> lock ! Oggy left the doc opened for a long time!
micbar commentedon May 11, 2023
Bob should get a message that the document is locked with the call to action to try it later.
IMO that is the best we could do ATM
tbsbdr commentedon May 11, 2023
Proposal for error notification:
Sorry, sharing is not possible
The document is being edited and is locked. Please finish editing to enable sharing.
2403905 commentedon May 16, 2023
@tbsbdr Is the frontend should provide this message?
I can return create share
<?xml version="1.0" encoding="UTF-8"?> <ocs><meta><status>error</status><statuscode>423</statuscode><message>add grant: error: locked by opaquelocktoken:797356a8-0500-4ceb-a8a0-c94c8cde7eba RCtDdTFGUmE5K3JnRU1mdDhYSUpHQT09</message></meta></ocs>or more common message and then the client has to determine what exactly is locked.
v-scharf commentedon May 23, 2023
retested v. 3.0.0-rc.4
The file is locked until the file is in use by at least one user996 error996 error