Open phandd opened 5 years ago
@phandd Hi, we are planning to redone all key generation logic and we are aware of your problem and try to fix it in future, but currently have no ETA
@ShockwaveNN cool, thank you. Looking forward to it. I think for now I will have to prevent the user from accessing the document while it being saved to storage service. You guys have done a great work btw ;)
Do you want to request a feature or report a bug? Asking, if no solution then request a feature
What is the current behavior? Every time document server send a request (with status = 2) to storage service in order to save the document, the key becomes invalid in document server.
While the storage service is saving the file, there can be some users trying to open the file, and the key is not generated as anew until storage service saves the file successfully, so the key in payload send back to client browser still the old key, while the key already became invalid on document server => Error
What is the expected behavior? Have some config to decide when the key becomes invalid in document server (ex. by the response from callbackUrl request)
Did this work in previous versions of DocumentServer? No
DocumentServer version: 5.2.8
Operating System: Ubuntu 18.04