Fix cloning jobsets

This commit is contained in:
Eelco Dolstra 2014-04-30 09:26:53 +02:00
parent d9475273c5
commit 6c6ce7a781

View file

@ -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;