Actions
Bug #4290
closedUser Groups name length does not have a max length in UI
Description
When creating a User Group in the foreman UI, there is not a maximum length indicated for the name.
Instead, it will allow names up to 255 chars long. Any name longer than 255 receives this error after clicking submit:
ActiveRecord::StatementInvalid
PGError: ERROR: value too long for type character varying(255) : INSERT INTO "usergroups" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id"
app/controllers/usergroups_controller.rb:12:in `create'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'
Updated by Dominic Cleal almost 11 years ago
- Status changed from New to Ready For Testing
- Target version set to 1.9.1
Updated by Anonymous almost 11 years ago
- Target version changed from 1.9.1 to 1.9.0
Updated by Dominic Cleal almost 11 years ago
- Translation missing: en.field_release set to 4
Updated by Anonymous almost 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset e0a653b6a495b603a03d965cd8229b1a1c3222e4.
Actions