Bug 674661 - PGError value too long on role name field
Summary: PGError value too long on role name field
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-configserver
Version: 0.3.1
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: alpha
Assignee: Steve Linabery
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks: ce-beta
TreeView+ depends on / blocked
 
Reported: 2011-02-02 20:33 UTC by Dave Johnson
Modified: 2012-01-26 12:29 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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


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