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

Bug 962646

Summary: Enforce Group name length restriction
Product: [Retired] Beaker Reporter: Amit Saha <asaha>
Component: schedulerAssignee: beaker-dev-list
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.12CC: aigao, asaha, dcallagh, ebaak, qwan, rmancy, tools-bugs
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-26 00:53:33 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:
Embargoed:

Description Amit Saha 2013-05-14 06:56:29 UTC
Description of problem:

The tg_group schema specifies group_name to be varchar(16). We should add this check in the code which adds a new group or modifies an existing one to prevent unwanted truncation in case the input exceeds 16 characters.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Dan Callaghan 2014-03-24 23:50:31 UTC
I think there should already be a TurboGears validator covering the group name, we just need to tell the validator to enforce the length limit of 16.

Comment 3 Dan Callaghan 2014-03-26 00:53:33 UTC
Already fixed in 0.15.

*** This bug has been marked as a duplicate of bug 990349 ***