Bug 1395148

Summary: The flag's changeable option only contains (unset) when changing flag in the action page of rule
Product: [Community] Bugzilla Reporter: Rony Gong 🔥 <qgong>
Component: Internal ToolsAssignee: PnT DevOps Devs <hss-ied-bugs>
Internal Tools sub component: Rules Engine QA Contact: tools-bugs <tools-bugs>
Status: CLOSED NOTABUG Docs Contact:
Severity: medium    
Priority: unspecified CC: huiwang, mtyson, qgong, yijli
Version: 4.4   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-01 02:29:18 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-11-15 09:44:22 UTC
Description of problem:
The  flag changeable option only contains (unset) when changing flag in the action page of rule 

Version-Release number of selected component (if applicable):
4.4.12063-2, also in current production

How reproducible:
100%

Steps to Reproduce:
1.Go to step 3 of a rule, choose a rule like 'rhel-7.1.0' to add
2.Select 'Change' as action
3.Then try to select the flag's option value

Actual results:
Only show (unset)

Expected results:
Could choose all other valid options, like ?, +, -

Additional info:

Comment 1 Matt Tyson 🤬 2016-11-15 23:45:13 UTC
If you examine that flag in the editflagtypes.cgi page, is the flag still 'active' ?

If the flag is not active then you can not set it, and therefore the options should not appear.

Comment 2 Rony Gong 🔥 2016-11-16 02:00:41 UTC
(In reply to Matt Tyson from comment #1)
> If you examine that flag in the editflagtypes.cgi page, is the flag still
> 'active' ?
> 
> If the flag is not active then you can not set it, and therefore the options
> should not appear.

Seems you are right, but after active this flag, there only show (unset), +, -, still lost ?, but other active flags(like 7.3.0) could view all.

Comment 3 Matt Tyson 🤬 2016-11-17 03:18:11 UTC
Does the flag have the 'requestable' box checked in the editflagtypes page?

Comment 4 Rony Gong 🔥 2016-12-01 02:10:26 UTC
(In reply to Matt Tyson from comment #3)
> Does the flag have the 'requestable' box checked in the editflagtypes page?

please close this bug, since this flag's 'requestable' box doesn't checked.