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
end
}
end
#puts "HS: #{record['History'].inspect}"
record['History'].each { |history|
@ -759,7 +760,6 @@ module Import::OTRS2
)
end
}
end
}
end