From 79be9a03d428a68c694030a4b40953da2f00edb2 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 6 Mar 2019 12:02:52 +0100 Subject: [PATCH 1/2] add missing filesystem type, caused too late registration for file hooks Signed-off-by: Arthur Schiwon --- appinfo/info.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/appinfo/info.xml b/appinfo/info.xml index 6bd7059..60f1a8e 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -9,6 +9,9 @@ agpl Arthur Schiwon WorkflowScript + + + files tools organization From 13df48d90537da251b269f0531054e3a36f4f341 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 6 Mar 2019 12:23:27 +0100 Subject: [PATCH 2/2] providing internal path fixes resolving tags, file types, etc. Signed-off-by: Arthur Schiwon --- lib/Operation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Operation.php b/lib/Operation.php index fc7f946..34c523b 100644 --- a/lib/Operation.php +++ b/lib/Operation.php @@ -61,7 +61,7 @@ public function __construct(IManager $workflowEngineManager, IJobList $jobList, public function considerScript(Node $node, string $event, array $extra = []) { try { - $this->workflowEngineManager->setFileInfo($node->getStorage(), $node->getPath()); + $this->workflowEngineManager->setFileInfo($node->getStorage(), $node->getInternalPath()); $matches = $this->workflowEngineManager->getMatchingOperations(Operation::class, false); foreach ($matches as $match) { $command = $this->buildCommand($match['operation'], $node, $event, $extra);