Commit d3259eeb authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 565314: Cannot edit FIXED bugs when a blocker is open, when "noresolveonopenblockers" is on

r/a=mkanat
parent 1b19be97
...@@ -1531,7 +1531,9 @@ sub _check_resolution { ...@@ -1531,7 +1531,9 @@ sub _check_resolution {
ThrowUserError('resolution_not_allowed') if $self->status->is_open; ThrowUserError('resolution_not_allowed') if $self->status->is_open;
# Check noresolveonopenblockers. # 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); my @dependencies = CountOpenDependencies($self->id);
if (@dependencies) { if (@dependencies) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment