[tools] testbot/web: Preserve the bug status when changing a deleted failure bug id.
Francois Gouget
fgouget at codeweavers.com
Fri Jun 17 09:50:46 CDT 2022
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/web/FailureDetails.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/web/FailureDetails.pl b/testbot/web/FailureDetails.pl
index c510d8d480..f39af5ac91 100644
--- a/testbot/web/FailureDetails.pl
+++ b/testbot/web/FailureDetails.pl
@@ -202,7 +202,7 @@ sub OnAction($$)
}
if (($self->{Item}->BugId || "") ne $self->GetParam("BugId"))
{
- $self->{Item}->BugStatus("");
+ $self->{Item}->BugStatus("") if ($self->{Item}->BugStatus ne "deleted");
$self->{Item}->BugDescription("");
}
return undef if (!$self->Save());
--
2.30.2
More information about the wine-devel
mailing list