From 8c144e14d292d8c995d9e2570f20a5cbd80d3a0a Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Fri, 24 Sep 2021 16:19:22 +0200 Subject: [PATCH] Mention https://github.com/pondersource/nc-sciencemesh/issues/26 --- lib/Controller/RevaController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Controller/RevaController.php b/lib/Controller/RevaController.php index c78df8e4..3cbef7ac 100644 --- a/lib/Controller/RevaController.php +++ b/lib/Controller/RevaController.php @@ -332,6 +332,9 @@ public function ListFolder($userId) { } else { $nodeInfos = $this->filesystem->listContents($path); } + // FIXME: https://github.com/pondersource/nc-sciencemesh/issues/26 + // It seems that if the folder is not found, then NextcloudAdapter + // returns [] and not false? if ($nodeInfos !== false) { $resourceInfos = array_map(function($nodeInfo) { return $this->nodeInfoToCS3ResourceInfo($nodeInfo);