Bug 1318159

Summary: It will create duplicate flag when set to the newly created flag when creating bug
Product: [Community] Bugzilla Reporter: Rony Gong 🔥 <qgong>
Component: Creating/Changing BugsAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED NEXTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: huiwang, jmcdonal, mtahir, mtyson, qgong
Target Milestone: 5.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-16 06:06:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Rony Gong 🔥 2016-03-16 08:02:59 UTC
Description of problem:
It will create duplicate flag when set to the newly created flag when creating bug

This error only happened when creating bug and set to the newly created flag.

Version-Release number of selected component (if applicable):
5.0.2.rh2

How reproducible:
100%


Steps to Reproduce:
1.Login by admin, then create a new flag type 'auto_flag' by: administration -> flag, 
2.create a bug, in the enter bug page, set 'auto_flag' as +, submit this bug.
3.After save bug, check the flag

Actual results:
Could find 2 'auto_flag' set as '+' in the bug detail page

Expected results:
only 1 'auto_flag' set as '+' in the bug detail page

Additional info:

Comment 1 Matt Tyson 🤬 2016-04-20 05:19:39 UTC
I can reproduce this if I use the -rh2 version of the code.

I can't reproduce it with the current code.  I suspect another bug fix has also fixed this.

Comment 2 Rony Gong 🔥 2016-05-04 02:13:33 UTC
Tested on
QA environment(5.0.2-rh5)
Result: Pass