Bug 439605 – TestRun.create populates stop_date with the current time stamp

git-svn-id: svn://10.0.0.236/trunk@252404 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ghendricks%novell.com 2008-06-17 16:30:00 +00:00
parent 31cc68de5e
commit 19a3ffc81f

View File

@ -97,6 +97,7 @@ sub create {
$new_values->{'plan_text_version'} ||= $plan->version;
$new_values->{'product_version'} ||= $plan->product_version;
$new_values->{'status'} = 1 unless defined $new_values->{'status'} && $new_values->{'status'} == 0;
if (trim($new_values->{'build_id'}) !~ /^\d+$/ ){
my $build = Bugzilla::Testopia::Build::check_build($new_values->{'build_id'}, $plan->product, "THROWERROR");