Skip to content

Commit

Permalink
Merge pull request #18448 from nextcloud/fix/noid/wrong-paths-for-fil…
Browse files Browse the repository at this point in the history
…eids

pass the proper storage-internal path
  • Loading branch information
rullzer authored Dec 17, 2019
2 parents e9e3d48 + 1378614 commit ac045a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/workflowengine/lib/Entity/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ac045a2

Please sign in to comment.