Bug 433348 - 3.42: Add Reopened keyword when bug is closed and then reopened
Summary: 3.42: Add Reopened keyword when bug is closed and then reopened
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Creating/Changing Bugs
Version: 3.2
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: PnT DevOps Devs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-18 19:59 UTC by David Lawrence
Modified: 2025-10-16 23:17 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-02-21 16:24:42 UTC
Embargoed:


Attachments (Terms of Use)
Patch to add reopened keyword when a closed bug is reopened. (763 bytes, patch)
2008-02-18 20:22 UTC, David Lawrence
nelhawar: review-
dkl: review? (tfu)
Details | Diff
Patch to add reopened keyword when a closed bug is reopened (v2) (761 bytes, patch)
2008-02-21 16:15 UTC, David Lawrence
nelhawar: review+
Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.