Bug 146469

Summary: Cant count on action_type IDs being consistent
Product: [Retired] Red Hat Network Reporter: Mike McCune <mmccune>
Component: RHN/R&DAssignee: Mike McCune <mmccune>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: RHN DevelCC: bretm, jslagle
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: 2005-09-28 22:13:59 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:
Bug Depends On:    
Bug Blocks: 125080    

Description Mike McCune 2005-01-28 16:46:44 UTC
This is used as a descriminator on the Action class.

Need to see if we can use the label instead.

Comment 1 Jesus M. Rodriguez 2005-01-29 04:17:06 UTC
Personally, I think this is bad.  I agree with using sequences to
generate IDs for dynamic content.  But any content that is supposed to
be a "CONSTANTS" should have its own IDs inserted into the table.

For instance, when creating a User, its id should be generated by a
sequence.  But when adding an EmailStateType, or ActionType, we should
insert the id as part of an insert statement in a script.

Comment 2 Jesus M. Rodriguez 2005-09-28 22:13:59 UTC
wasn't a problem. closing.