mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: fallback to full user setup if we cant find the expected mount root
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
abe5499e14
commit
68cdd1b1ef
1 changed files with 4 additions and 0 deletions
|
|
@ -521,6 +521,10 @@ class SetupManager {
|
|||
if (is_a($mountProvider, IPartialMountProvider::class, true)) {
|
||||
$rootId = $cachedMount->getRootId();
|
||||
$rootMetadata = $this->fileAccess->getByFileId($rootId);
|
||||
if (!$rootMetadata) {
|
||||
$this->setupForUser($user);
|
||||
return;
|
||||
}
|
||||
$providerArgs = new MountProviderArgs($cachedMount, $rootMetadata);
|
||||
// mark the path as cached (without children for now...)
|
||||
$this->setupMountProviderPaths[$mountPoint] = self::SETUP_WITHOUT_CHILDREN;
|
||||
|
|
|
|||
Loading…
Reference in a new issue