From c1f2c76f447b91d4c7de43177f25e594d14bace1 Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Sat, 13 Jul 2024 11:49:53 +0300 Subject: fix: do not overwrite the output if NodeID exists Signed-off-by: Alexander Piskun Signed-off-by: Marcel Klehr --- lib/private/TaskProcessing/Manager.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib/private/TaskProcessing/Manager.php') diff --git a/lib/private/TaskProcessing/Manager.php b/lib/private/TaskProcessing/Manager.php index 1158c4a8519..c5ddbb31dc3 100644 --- a/lib/private/TaskProcessing/Manager.php +++ b/lib/private/TaskProcessing/Manager.php @@ -687,12 +687,7 @@ class Manager implements IManager { if (!$isUsingFileIds) { $output = $this->encapsulateOutputFileData($output, $outputShape, $optionalOutputShape); } else { - $output = $this->validateOutputFileIds($output, $outputShape, $optionalOutputShape); - } - foreach ($output as $key => $value) { - if ($value instanceof Node) { - $output[$key] = $value->getId(); - } + $this->validateOutputFileIds($output, $outputShape, $optionalOutputShape); } $task->setOutput($output); $task->setProgress(1); -- cgit v1.2.3