From 171575958884a9afc52e9729d6a8638791e89bb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Janis=20Da=CC=88hne?= <janis.daehne@informatik.uni-halle.de>
Date: Fri, 5 Mar 2021 15:45:14 +0100
Subject: [PATCH] - fixed issue where tracelog worker did not know about
 timings logger - fixed missing argument

---
 api.php             | 5 +++--
 constants.php       | 2 +-
 worker/traceLog.php | 2 ++
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/api.php b/api.php
index d9af1e4..5bfee42 100644
--- a/api.php
+++ b/api.php
@@ -534,7 +534,8 @@ foreach ($testCases as $test) {
             $result = create_test_result($status_code_ArgumentInvalidOrMissing, "argument '" . $s_test_diskSpaceLimitInKb . "' missing", $testId,
                 FALSE, FALSE, NULL,
                 NULL, NULL, NULL,
-                100, '', $versionString,
+                100, '',
+                NULL, NULL,
                 false, $arg_characterLimitProtocol
             );
             array_push($testResults, $result);
@@ -652,7 +653,7 @@ foreach ($testCases as $test) {
                     goto handleCleanup;
                 }
 
-                addToDebugTimings("before blackbox/justrun test");
+                addToDebugTimings("after blackbox/justrun test");
             }
 
         }
diff --git a/constants.php b/constants.php
index 984cbc3..9d1762c 100644
--- a/constants.php
+++ b/constants.php
@@ -3,7 +3,7 @@
 # variables
 
 //use this to know which version we published
-$versionString = '2.6.2';
+$versionString = '2.6.3';
 $rootDirNameToUseString = 'work';
 
 $isDebug = false; //logs debug to STDOUT
diff --git a/worker/traceLog.php b/worker/traceLog.php
index 8affac5..05ea27b 100644
--- a/worker/traceLog.php
+++ b/worker/traceLog.php
@@ -19,6 +19,8 @@ require_once __DIR__.'/../constants.php';
 
 require_once __DIR__.'/../transactionHelper.php';
 
+require_once __DIR__.'/../helpers.php';
+
 
 $entityBody = file_get_contents('php://input');
 
-- 
GitLab