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