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
parent
commit
ac045a2461
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/workflowengine/lib/Entity/File.php

2
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
}

Loading…
Cancel
Save