Bug 674661

Summary: PGError value too long on role name field
Product: [Retired] CloudForms Cloud Engine Reporter: Dave Johnson <dajohnso>
Component: aeolus-configserverAssignee: Steve Linabery <slinaber>
Status: CLOSED CURRENTRELEASE QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: high    
Version: 0.3.1CC: deltacloud-maint, morazi, ssachdev, whayutin
Target Milestone: alpha   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 684278    

Description Dave Johnson 2011-02-02 20:33:57 UTC
Description of problem:
Need better ui feedback message


Steps to Reproduce:
1.  create a role with a long name (>255 chars)
2.
3.
  
Actual results:
PGError: ERROR: value too long for type character varying(255) : INSERT INTO "roles" ("name", "updated_at", "scope", "lock_version", "created_at") VALUES(E'lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll', '2011-02-02 19:16:06.773329', E'BasePermissionObject', 0, '2011-02-02 19:16:06.773329') RETURNING "id" 


Expected results:
ui feedback message stating that the name value is too long

Additional info:

Comment 1 Dave Johnson 2011-02-03 16:53:14 UTC
[root@cloudEng-qe-vm conductor]# git show
commit 70526a6f9b3b51e54c581f35410f255c3749a987

Comment 2 Dave Johnson 2011-02-17 19:02:50 UTC
*** Bug 678386 has been marked as a duplicate of this bug. ***

Comment 3 wes hayutin 2011-03-11 16:58:46 UTC
adding to the ce-beta blocking tracker

Comment 4 Shveta 2011-06-01 09:18:03 UTC
Verified:

Name is too long (maximum is 255 characters)

Comment 5 wes hayutin 2011-08-01 19:57:51 UTC
release pending...

Comment 6 wes hayutin 2011-08-01 19:59:02 UTC
release pending...

Comment 8 wes hayutin 2011-12-08 13:54:53 UTC
perm close

Comment 9 wes hayutin 2011-12-08 13:57:43 UTC
closing out old bugs