[Hide Content]From 17afab06decb0d7b987c45f15d59933481daea07 Mon Sep 17 00:00:00 2001
From: Igor Murzov <e-mail@date.by>
Date: Tue, 6 May 2014 15:49:30 +0400
Subject: [PATCH] BUG: Fix schedule to build association when handling
submissions synchronously
---
cdash/do_submit.php | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cdash/do_submit.php b/cdash/do_submit.php
index 3207567..b12edc6 100644
--- a/cdash/do_submit.php
+++ b/cdash/do_submit.php
@@ -63,6 +63,10 @@ function do_submit($filehandle, $projectid, $expected_md5='', $do_checksum=true,
$scheduleid = $row[0];
}
}
+ else if(isset($_GET["clientscheduleid"]))
+ {
+ $scheduleid = pdo_real_escape_numeric($_GET["clientscheduleid"]);
+ }
// Parse the XML file
$handler = ctest_parse($filehandle,$projectid, $expected_md5, $do_checksum, $scheduleid);
--
1.7.9.5