From 322772608872c5f804b076b8553eb99082c1c012 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 19 Apr 2021 13:01:18 +0200 Subject: [api] Fix resetting wrong parent variable --- api/src/main/java/org/openslx/taskmanager/api/AbstractTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/org/openslx/taskmanager/api/AbstractTask.java b/api/src/main/java/org/openslx/taskmanager/api/AbstractTask.java index 18cbe76..35d179d 100644 --- a/api/src/main/java/org/openslx/taskmanager/api/AbstractTask.java +++ b/api/src/main/java/org/openslx/taskmanager/api/AbstractTask.java @@ -199,7 +199,7 @@ public abstract class AbstractTask implements Runnable this.status.statusCode = StatusCode.PARENT_FAILED; LOG.debug( "Parent " + this.parentTask + " of " + this.id + " failed." ); } - this.parentTask = null; + this.parent = null; break; default: break; -- cgit v1.2.3-55-g7522