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:
parent
72a5839931
commit
8065001c0d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue