Attached Files | 0001-BUG-Set-Append-property-to-false-in-upload-xml-handl.patch [^] (1,124 bytes) 2013-08-12 05:07 [Show Content] [Hide Content]From 9e79cf51946d9ce50ee774c2677d184f86d8468a Mon Sep 17 00:00:00 2001
From: Igor Murzov <e-mail@date.by>
Date: Fri, 9 Aug 2013 19:41:42 +0400
Subject: [PATCH] BUG: Set Append property to false in upload xml handler as
files are not appendable
This commit fixes the following error:
PHP Notice: Undefined property: UploadHandler::$Append in
/var/www/cdash/xml_handlers/upload_handler.php on line 118
---
xml_handlers/upload_handler.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xml_handlers/upload_handler.php b/xml_handlers/upload_handler.php
index a94110f..3d5d7e3 100644
--- a/xml_handlers/upload_handler.php
+++ b/xml_handlers/upload_handler.php
@@ -115,7 +115,7 @@ class UploadHandler extends AbstractHandler
$this->Build->EndTime = gmdate(FMT_DATETIME);
$this->Build->SubmitTime = gmdate(FMT_DATETIME);
$this->Build->SetSubProject($this->SubProjectName);
- $this->Build->Append = $this->Append;
+ $this->Build->Append = false;
$this->Build->InsertErrors = false;
add_build($this->Build, $this->scheduleid);
--
1.7.9.5
|