| Summary: | create role form needs value too long check | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | Dave Johnson <dajohnso> | ||||
| Component: | aeolus-conductor | Assignee: | Scott Seago <sseago> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dave Johnson <dajohnso> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 0.3.1 | CC: | cpelland, deltacloud-maint, 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: | 2011-02-17 19:02:50 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
sorry for the spam, I already wrote this one up in bug 674661 *** This bug has been marked as a duplicate of bug 674661 *** perm close |
Created attachment 479378 [details] error in ui Create a role with a name >255 characters and a PGError is thrown ActiveRecord::StatementInvalid (PGError: ERROR: value too long for type character varying(255) : INSERT INTO "roles" ("name", "scope", "assign_to_owner", "created_at", "updated_at", "lock_version") VALUES('auto_yupl5dfkkl0mqqiuuc0b1qiva7ke3jilp06a1kbxijycfrtnewvivhr4np9ua63dzyitv0zvdj5x1qlpg2tt48bzuit24n7jywdlsjzcdabts4dd08vz0f40493q6rptxh3aebbmre6b152yzxm1aibfij4n3pe2ndxu1lyolaxkfk0g7677moo96rrdcc6uu963p9ha9rtgwz7fl9xgxjqwdpcv00dhp4u2ovcshglidl7vlqlibhnmkmb', 'BasePermissionObject', 'f', '2011-02-17 16:56:44.060167', '2011-02-17 16:56:44.060167', 0) RETURNING "id"): app/controllers/admin/roles_controller.rb:26:in `create' compass (0.10.4) lib/compass/app_integration/rails/actionpack2/action_controller.rb:7:in `process' haml (3.0.18) rails/./lib/sass/plugin/rack.rb:41:in `call' haml (3.0.18) rails/./lib/sass/plugin/rack.rb:41:in `call' thin (1.2.5) lib/thin/connection.rb:76:in `pre_process' thin (1.2.5) lib/thin/connection.rb:74:in `catch' thin (1.2.5) lib/thin/connection.rb:74:in `pre_process' thin (1.2.5) lib/thin/connection.rb:57:in `process' thin (1.2.5) lib/thin/connection.rb:42:in `receive_data' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run' thin (1.2.5) lib/thin/backends/base.rb:57:in `start' thin (1.2.5) lib/thin/server.rb:156:in `start' thin (1.2.5) lib/thin/controllers/controller.rb:80:in `start' thin (1.2.5) lib/thin/runner.rb:177:in `send' thin (1.2.5) lib/thin/runner.rb:177:in `run_command' thin (1.2.5) lib/thin/runner.rb:143:in `run!' thin (1.2.5) bin/thin:6 /usr/bin/thin:19:in `load' /usr/bin/thin:19