From b3630da125fa112e04f6e6a15328f64e13a874c5 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 13 Apr 2007 19:53:23 +0000 Subject: Bug 92552: Separate reassignment from bug status change (they are now independent) - Patch by Frédéric Buclin r=gerv a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Bug.pm | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 777fca323..62be49564 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1511,15 +1511,6 @@ sub get_new_status_and_resolution { $status = $self->everconfirmed ? 'REOPENED' : 'UNCONFIRMED'; $resolution = ''; } - elsif ($action =~ /^reassign(?:bycomponent)?$/) { - if (!is_open_state($self->bug_status) || $self->bug_status eq 'UNCONFIRMED') { - $status = $self->bug_status; - } - else { - $status = 'NEW'; - } - $resolution = $self->resolution; - } elsif ($action eq 'duplicate') { # Only alter the bug status if the bug is currently open. $status = is_open_state($self->bug_status) ? 'RESOLVED' : $self->bug_status; @@ -2153,14 +2144,6 @@ sub check_can_change_field { return 1; } - # Ignore the assigned_to field if the bug is not being reassigned - if ($field eq 'assigned_to' - && $data->{'knob'} ne 'reassignbycomponent' - && $data->{'knob'} ne 'reassign') - { - return 1; - } - # If the user isn't allowed to change a field, we must tell him who can. # We store the required permission set into the $PrivilegesRequired # variable which gets passed to the error template. -- cgit v1.2.3-24-g4f1b