Commit 5fbbdf7c authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Make sure that lock_version changes are not stored in journals table (#3004).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2644 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 801ad70c
......@@ -157,7 +157,7 @@ class Issue < ActiveRecord::Base
def before_save
if @current_journal
# attributes changes
(Issue.column_names - %w(id description)).each {|c|
(Issue.column_names - %w(id description lock_version created_on updated_on)).each {|c|
@current_journal.details << JournalDetail.new(:property => 'attr',
:prop_key => c,
:old_value => @issue_before_change.send(c),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment