diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-05-13 15:44:19 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-05-13 15:44:19 +0200 |
commit | d3259eebfeb070e2f67094060d4926e2e1e649a3 (patch) | |
tree | 702f6df343869a72dc4e8533305617648dd7fd0e /Bugzilla | |
parent | 1b19be9763e73638a84989baf450cc3328836946 (diff) | |
download | bugs-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.pm | 4 |
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) { |