cs3org / wopiserver

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

Bridge: save to local temporary storage in case of failures #39

Closed glpatcern closed 2 years ago

glpatcern commented 3 years ago

Imported from https://github.com/cs3org/wopibridge/issues/6:

In case the remote storage is unreachable or the WOPI session has expired, we may end up with a valid document that cannot be saved.

We should at least save it to some temporary local storage, in order to help with later recovery by operations - or have a mechanism to renew the WOPI access token.

In the code, this corresponds to two comments marked as: TODO here we should save the file on a local storage to help later recovery!