Bug 962646 - Enforce Group name length restriction
Summary: Enforce Group name length restriction
Keywords:
Status: CLOSED DUPLICATE of bug 990349
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-14 06:56 UTC by Amit Saha
Modified: 2018-02-06 00:41 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-26 00:53:33 UTC
Embargoed:


Attachments (Terms of Use)

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 ***


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