From 1378614f67830dafbc9d0f197575aca73f7247e5 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 17 Dec 2019 15:00:44 +0100 Subject: [PATCH] pass the proper storage-internal path Signed-off-by: Arthur Schiwon --- apps/workflowengine/lib/Entity/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/workflowengine/lib/Entity/File.php b/apps/workflowengine/lib/Entity/File.php index 9c44a383d6cdd..6196af5bc2350 100644 --- a/apps/workflowengine/lib/Entity/File.php +++ b/apps/workflowengine/lib/Entity/File.php @@ -113,7 +113,7 @@ public function prepareRuleMatcher(IRuleMatcher $ruleMatcher, string $eventName, try { $node = $this->getNode(); $ruleMatcher->setEntitySubject($this, $node); - $ruleMatcher->setFileInfo($node->getStorage(), $node->getPath()); + $ruleMatcher->setFileInfo($node->getStorage(), $node->getInternalPath()); } catch (NotFoundException $e) { // pass }