Francois Gouget : testbot/web: Preserve the bug status when changing a deleted failure bug id.
Alexandre Julliard
julliard at winehq.org
Fri Jun 17 14:44:39 CDT 2022
Module: tools
Branch: master
Commit: 47148b9a622d3282d8b61af28edc001475cb4a0f
URL: https://source.winehq.org/git/tools.git/?a=commit;h=47148b9a622d3282d8b61af28edc001475cb4a0f
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Fri Jun 17 16:50:46 2022 +0200
testbot/web: Preserve the bug status when changing a deleted failure bug id.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 c510d8d4..f39af5ac 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());
More information about the wine-cvs
mailing list