Skip to content

Commit 901510e

Browse files
committed
Set fileInfo in the rule matcher
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent 22f5fc8 commit 901510e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/workflowengine/lib/Entity/File.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ public function prepareRuleMatcher(IRuleMatcher $ruleMatcher, string $eventName,
113113
try {
114114
$node = $this->getNode();
115115
$ruleMatcher->setEntitySubject($this, $node);
116+
$ruleMatcher->setFileInfo($node->getStorage(), $node->getPath());
116117
} catch (NotFoundException $e) {
117118
// pass
118119
}

0 commit comments

Comments
 (0)