Bug 451138 - Prevent groups from being created with empty name
Prevent groups from being created with empty name
Status: CLOSED CURRENTRELEASE
Product: JBoss Customer Support Portal
Classification: Retired
Component: Integration-Red Hat (Show other bugs)
1.3.9
All All
medium Severity low
: ---
: ---
Assigned To: JBoss CSP Bug Watch List
Completed Sprint #5
:
Depends On:
Blocks: 451141
  Show dependency treegraph
 
Reported: 2008-06-12 18:49 EDT by Mike Amburn
Modified: 2008-08-20 12:21 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-08-20 12:21:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mike Amburn 2008-06-12 18:49:50 EDT
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 15:54:12 EDT
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 16:37:03 EDT
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 07:44:55 EDT
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 15:03:53 EDT
*** Bug 455047 has been marked as a duplicate of this bug. ***

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