Browse Source
Merge pull request #18448 from nextcloud/fix/noid/wrong-paths-for-fileids
pass the proper storage-internal path
pull/18456/head
Roeland Jago Douma
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
apps/workflowengine/lib/Entity/File.php
|
|
|
@ -113,7 +113,7 @@ class File implements IEntity, IDisplayText { |
|
|
|
try { |
|
|
|
$node = $this->getNode(); |
|
|
|
$ruleMatcher->setEntitySubject($this, $node); |
|
|
|
$ruleMatcher->setFileInfo($node->getStorage(), $node->getPath()); |
|
|
|
$ruleMatcher->setFileInfo($node->getStorage(), $node->getInternalPath()); |
|
|
|
} catch (NotFoundException $e) { |
|
|
|
// pass
|
|
|
|
} |
|
|
|
|