Bug 962646 - Enforce Group name length restriction
Enforce Group name length restriction
Status: CLOSED DUPLICATE of bug 990349
Product: Beaker
Classification: Community
Component: scheduler (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ---
: ---
Assigned To: beaker-dev-list
: EasyFix
Depends On:
  Show dependency treegraph
Reported: 2013-05-14 02:56 EDT by Amit Saha
Modified: 2018-02-05 19:41 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-03-25 20:53:33 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Amit Saha 2013-05-14 02:56:29 EDT
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:
Actual results:

Expected results:

Additional info:
Comment 2 Dan Callaghan 2014-03-24 19:50:31 EDT
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-25 20:53:33 EDT
Already fixed in 0.15.

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

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