cs3org / wopiserver

A vendor-neutral application gateway compatible with the WOPI specifications.
Apache License 2.0
52 stars 27 forks source link

don't lock again after file upload #72

Closed wkloucek closed 2 years ago

wkloucek commented 2 years ago

according to the cs3api spec https://github.com/cs3org/cs3apis/blob/main/cs3/storage/provider/v1beta1/provider_api.proto#L151-L158, locking a already locked file fails with CODE_FAILED_PRECONDITION. Since the file isn't unlocked at all, we also don't have any reason to lock it again after the upload