From d3259eebfeb070e2f67094060d4926e2e1e649a3 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 13 May 2010 15:44:19 +0200 Subject: 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(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 1b7753eff..9a915b6f8 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1531,7 +1531,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) { -- cgit v1.2.3-24-g4f1b