Bug 433348

Summary: 3.42: Add Reopened keyword when bug is closed and then reopened
Product: [Community] Bugzilla Reporter: David Lawrence <dkl>
Component: Creating/Changing BugsAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.2CC: nelhawar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-21 16:24:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to add reopened keyword when a closed bug is reopened.
nelhawar: review-, dkl: review? (tfu)
Patch to add reopened keyword when a closed bug is reopened (v2) nelhawar: review+

Description David Lawrence 2008-02-18 19:59:29 UTC
When a bug is closed and then reopened, the bug will go into the ASSIGNED status
and also the keyword Reopened should be added.

Comment 1 David Lawrence 2008-02-18 20:22:42 UTC
Created attachment 295203 [details]
Patch to add reopened keyword when a closed bug is reopened.

Comment 2 David Lawrence 2008-02-18 20:24:40 UTC
Worked 1 hour.

Comment 3 Noura El hawary 2008-02-21 05:32:26 UTC
Comment on attachment 295203 [details]
Patch to add reopened keyword when a closed bug is reopened.

Hi Dave ,,

The patch looks good except for one thing:

in the line:

$self->modify_keywords(['Reopened'], 'add'); 

The keywords should be passed to modify_keywords as string, not an array ref ,
so it should be 

$self->modify_keywords('Reopened', 'add'); 

it gets then split up at _check_keywords and returned as an array ref.

Noura

Comment 4 David Lawrence 2008-02-21 16:15:59 UTC
Created attachment 295529 [details]
Patch to add reopened keyword when a closed bug is reopened (v2)

Thanks Noura. I have attached a new version with the fix included.

Comment 5 Noura El hawary 2008-02-21 16:19:16 UTC
Comment on attachment 295529 [details]
Patch to add reopened keyword when a closed bug is reopened (v2)

patch looks good to me. I tested it earlier and was all good.

Noura

Comment 6 David Lawrence 2008-07-17 15:15:58 UTC
Verified this still works with latest UI changes.