Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Reinstated the null check for TaskModel #2933

Merged
merged 1 commit into from
Apr 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,9 @@ public List<Task> getTasksForWorkflow(String workflowId) {

public TaskModel getTaskModel(String taskId) {
TaskModel taskModel = getTaskFromDatastore(taskId);
populateTaskData(taskModel);
if (taskModel != null) {
populateTaskData(taskModel);
}
return taskModel;
}

Expand Down