From 5c23164dd8de8b7aa62684fc99aa17d0bc2f1eaa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Thu, 13 May 2010 15:46:34 +0200 Subject: [PATCH] Bug 565314: Cannot edit FIXED bugs when a blocker is open, when "noresolveonopenblockers" is on r/a=mkanat --- Bugzilla/Bug.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 6114b0ae44..e0acf4c524 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1549,7 +1549,9 @@ sub _check_resolution { ThrowUserError('resolution_not_allowed') if $self->status->is_open; # Check noresolveonopenblockers. - if (Bugzilla->params->{"noresolveonopenblockers"} && $resolution eq 'FIXED') + if (Bugzilla->params->{"noresolveonopenblockers"} + && $resolution eq 'FIXED' + && (!$self->resolution || $resolution ne $self->resolution)) { my @dependencies = CountOpenDependencies($self->id); if (@dependencies) { -- 2.47.2