diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-08-07 12:50:07 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-08-07 12:50:07 +0200 |
commit | 020bb4c00c7ec0a9ead90c8132c277900da5e4ca (patch) | |
tree | bf4e363d3eaf50ce2785eab17fa6496ab43e6fa2 /server/sonar-web | |
parent | 993cca8233e08537ab57d57316f03017b8a96b46 (diff) | |
download | sonarqube-020bb4c00c7ec0a9ead90c8132c277900da5e4ca.tar.gz sonarqube-020bb4c00c7ec0a9ead90c8132c277900da5e4ca.zip |
SONAR-5522 Fail to add or remove users from groups that do not have description (Oracle DB only)
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/models/group.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/models/group.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/models/group.rb index 47a189ba287..e8da706e761 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/models/group.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/models/group.rb @@ -26,7 +26,7 @@ class Group < ActiveRecord::Base validates_presence_of :name validates_length_of :name, :within => 1..255 - validates_length_of :description, :within => 0..200 + validates_length_of :description, :maximum => 200, :allow_blank => true validates_uniqueness_of :name validate :name_cant_be_anyone |