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
This commit is contained in:
parent
801ad70cb7
commit
5fbbdf7cb6
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue