From: Frédéric Buclin Date: Thu, 13 May 2010 13:46:34 +0000 (+0200) Subject: Bug 565314: Cannot edit FIXED bugs when a blocker is open, when "noresolveonopenblock... X-Git-Tag: bugzilla-3.6.1~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c23164dd8de8b7aa62684fc99aa17d0bc2f1eaa;p=thirdparty%2Fbugzilla.git Bug 565314: Cannot edit FIXED bugs when a blocker is open, when "noresolveonopenblockers" is on r/a=mkanat --- 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) {