Bug 146469 - Cant count on action_type IDs being consistent
Summary: Cant count on action_type IDs being consistent
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Network
Classification: Red Hat
Component: RHN/R&D
Version: RHN Devel
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mike McCune
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: rhnMilestone1
TreeView+ depends on / blocked
 
Reported: 2005-01-28 16:46 UTC by Mike McCune
Modified: 2007-04-18 17:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-28 22:13:59 UTC


Attachments (Terms of Use)

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.


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