Only do creation of article within ActiveRecord::Base.transaction block.

This commit is contained in:
Martin Edenhofer 2015-05-03 21:23:02 +02:00
parent 65dbd8799b
commit d5252f599a

View file

@ -650,6 +650,7 @@ module Import::OTRS2
article.save article.save
end end
} }
end
#puts "HS: #{record['History'].inspect}" #puts "HS: #{record['History'].inspect}"
record['History'].each { |history| record['History'].each { |history|
@ -759,7 +760,6 @@ module Import::OTRS2
) )
end end
} }
end
} }
end end