diff options
author | Simon Rettberg | 2021-04-19 13:01:18 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-19 13:01:18 +0200 |
commit | 322772608872c5f804b076b8553eb99082c1c012 (patch) | |
tree | 12ca42847d6f0c77ebbe5f86ee4fb22d7ac8f619 /api/src | |
parent | Move Environment class to API, fix loading from file (diff) | |
download | taskman-lite-322772608872c5f804b076b8553eb99082c1c012.tar.gz taskman-lite-322772608872c5f804b076b8553eb99082c1c012.tar.xz taskman-lite-322772608872c5f804b076b8553eb99082c1c012.zip |
[api] Fix resetting wrong parent variable
Diffstat (limited to 'api/src')
-rw-r--r-- | api/src/main/java/org/openslx/taskmanager/api/AbstractTask.java | 2 |
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; |