aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-05-13 15:44:19 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-05-13 15:44:19 +0200
commitd3259eebfeb070e2f67094060d4926e2e1e649a3 (patch)
tree702f6df343869a72dc4e8533305617648dd7fd0e /Bugzilla
parent1b19be9763e73638a84989baf450cc3328836946 (diff)
downloadbugs-d3259eebfeb070e2f67094060d4926e2e1e649a3.tar
bugs-d3259eebfeb070e2f67094060d4926e2e1e649a3.tar.gz
bugs-d3259eebfeb070e2f67094060d4926e2e1e649a3.tar.bz2
bugs-d3259eebfeb070e2f67094060d4926e2e1e649a3.tar.xz
bugs-d3259eebfeb070e2f67094060d4926e2e1e649a3.zip
Bug 565314: Cannot edit FIXED bugs when a blocker is open, when "noresolveonopenblockers" is on
r/a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Bug.pm4
1 files changed, 3 insertions, 1 deletions
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) {