mirror of
https://github.com/redmine/redmine.git
synced 2026-07-05 09:19:50 +02:00
Fixed 10335 Error in journalizing an issue with longtext custom fields (Postgresql)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@477 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -17,4 +17,9 @@
|
||||
|
||||
class JournalDetail < ActiveRecord::Base
|
||||
belongs_to :journal
|
||||
|
||||
def before_save
|
||||
self.value = value[0..254] if value
|
||||
self.old_value = old_value[0..254] if old_value
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user