Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 451138

Summary: Prevent groups from being created with empty name
Product: [Retired] JBoss Customer Support Portal Reporter: Mike Amburn <mamburn>
Component: Integration-Red HatAssignee: JBoss CSP Bug Watch List <csp-bugs-watch>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 1.3.9CC: fmerenda
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard: Completed Sprint #5
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-20 16:21:45 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: 451141    

Description Mike Amburn 2008-06-12 22:49:50 UTC
groups being created with no group name when there is no company name and a user
logs in via user service.

if someone creates a rhn account with no company name, and then logs into the
CSP, we create a group with no company name.

one example in qa:

select * from users where first_name like 'joong%';
select * from group_users where userid = 11197;
select * from groups where gid = 2632;
select * from customer_user_cache where username ='rockoil';
select * from customer_entitlement_cache where user_cache_id = '213';

user has no entitlements. Looking in oracle, they have no company name
(supportable).

thought: if we get a customer w/no company name, we create a company name of
"USERNAME_no_company_name"

See sub task for fixing legacy groups.

This affects IssueTracker.

Comment 1 Lee Mewshaw 2008-06-17 19:54:12 UTC
Please name groups as follows:
   None (CID:n) 
where n is the Canonical ID number for the group

Thanks
Lee

Comment 2 Lee Mewshaw 2008-06-17 20:37:03 UTC
Nathan, while you're looking at this one, I think the groups are being created
with Active=No.  Please check that as well.

Lee

Comment 3 Nathan Lugert 2008-06-19 11:44:55 UTC
Changed default group name when creating new group to be "None (CID:n)" where n
is the Canonical ID number for the group. I also set group active to true.



Comment 4 Frank Merenda 2008-07-11 19:03:53 UTC
*** Bug 455047 has been marked as a duplicate of this bug. ***