Harden code to not explode if a storage has no owner#436
Harden code to not explode if a storage has no owner#436
Conversation
Related to nextcloud/server#19978 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
I'd like to not do this and instead fix storages to always return an owner. and if they dont have one, the mountpoint owner should be returned in my opinion: |
juliusknorr
left a comment
There was a problem hiding this comment.
I would still do this as then we would not break existing storage implementations that do not provide an owner yet.
🙊
Well, yes and no. Not breaking is good. On the other hand this is the only point where we know that our storages still return wrong info |
|
so... merge or close? |
Fine by me then, we still have some time to see during 19 beta/rc if that breaks somewhere and fix it then. |
Related to nextcloud/server#19978
Signed-off-by: Roeland Jago Douma roeland@famdouma.nl