diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-11-26 09:04:12 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-11-26 09:04:12 +0000 |
commit | 308133be453295afe3821bed85c71e083e5ed9c4 (patch) | |
tree | f1d36f8896b7e032989c8e575223bc295190a82c /app/models/version.rb | |
parent | 7189fdbf0c8e163dae9ff85895a891d83c27289b (diff) | |
download | redmine-308133be453295afe3821bed85c71e083e5ed9c4.tar.gz redmine-308133be453295afe3821bed85c71e083e5ed9c4.zip |
Merged r15989 and r15991 (#24283).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16003 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/version.rb')
-rw-r--r-- | app/models/version.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/version.rb b/app/models/version.rb index bc71b72e9..5c633d46b 100644 --- a/app/models/version.rb +++ b/app/models/version.rb @@ -34,7 +34,7 @@ class Version < ActiveRecord::Base validates_presence_of :name validates_uniqueness_of :name, :scope => [:project_id] validates_length_of :name, :maximum => 60 - validates_length_of :description, :maximum => 255 + validates_length_of :description, :wiki_page_title, :maximum => 255 validates :effective_date, :date => true validates_inclusion_of :status, :in => VERSION_STATUSES validates_inclusion_of :sharing, :in => VERSION_SHARINGS |