diff options
author | Alexander Piskun <13381981+bigcat88@users.noreply.github.com> | 2024-07-13 11:49:53 +0300 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2024-07-17 13:55:55 +0200 |
commit | c1f2c76f447b91d4c7de43177f25e594d14bace1 (patch) | |
tree | 05c59db24b2278567d9358b430c692c05cb6134d /lib/private/TaskProcessing/Manager.php | |
parent | 3937cccd4b564c77620f6fc001b1d623d5e15c1b (diff) | |
download | nextcloud-server-c1f2c76f447b91d4c7de43177f25e594d14bace1.tar.gz nextcloud-server-c1f2c76f447b91d4c7de43177f25e594d14bace1.zip |
fix: do not overwrite the output if NodeID exists
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib/private/TaskProcessing/Manager.php')
-rw-r--r-- | lib/private/TaskProcessing/Manager.php | 7 |
1 files changed, 1 insertions, 6 deletions
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); |