From 6c6ce7a781ecdec45ee5a09a90219cb041e634db Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 30 Apr 2014 09:26:53 +0200 Subject: [PATCH] Fix cloning jobsets --- src/lib/Hydra/Controller/Jobset.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Controller/Jobset.pm b/src/lib/Hydra/Controller/Jobset.pm index 113279b4..d126efff 100644 --- a/src/lib/Hydra/Controller/Jobset.pm +++ b/src/lib/Hydra/Controller/Jobset.pm @@ -236,7 +236,7 @@ sub updateJobset { $jobset->project->jobsetrenames->search({ from_ => $jobsetName })->delete; $jobset->project->jobsetrenames->create({ from_ => $oldName, to_ => $jobsetName }) - if $jobsetName ne $oldName; + if $oldName ne ".tmp" && $jobsetName ne $oldName; # Set the inputs of this jobset. $jobset->jobsetinputs->delete;