We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a547740 + 0360513 commit d760b03Copy full SHA for d760b03
1 file changed
apps/files_versions/lib/Listener/FileEventsListener.php
@@ -382,7 +382,11 @@ private function getPathForNode(Node $node): ?string {
382
}
383
384
385
- $owner = $node->getOwner()?->getUid();
+ try {
386
+ $owner = $node->getOwner()?->getUid();
387
+ } catch (\OCP\Files\NotFoundException) {
388
+ $owner = null;
389
+ }
390
391
// If no owner, extract it from the path.
392
// e.g. /user/files/foobar.txt
0 commit comments