summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-19 13:01:18 +0200
committerSimon Rettberg2021-04-19 13:01:18 +0200
commit322772608872c5f804b076b8553eb99082c1c012 (patch)
tree12ca42847d6f0c77ebbe5f86ee4fb22d7ac8f619
parentMove Environment class to API, fix loading from file (diff)
downloadtaskman-lite-322772608872c5f804b076b8553eb99082c1c012.tar.gz
taskman-lite-322772608872c5f804b076b8553eb99082c1c012.tar.xz
taskman-lite-322772608872c5f804b076b8553eb99082c1c012.zip
[api] Fix resetting wrong parent variable
-rw-r--r--api/src/main/java/org/openslx/taskmanager/api/AbstractTask.java2
1 files changed, 1 insertions, 1 deletions
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;