Story#111397154 - if during import file is not present, then just notify

This commit is contained in:
Vladimir Krylov 2016-03-04 16:28:13 +02:00
parent 9806243553
commit 813464c91d

View file

@ -120,7 +120,7 @@ namespace :import do
object: last_changes,
object_changes: changes,
created_at: time,
children: {legacy_documents: files.map(&:id)}
children: {legacy_documents: files.compact.map(&:id)}
}
data << hash
@ -226,7 +226,7 @@ namespace :import do
nameservers: responder.history_domain.import_nameservers_history(domain, time),
dnskeys: responder.history_domain.import_dnskeys_history(domain, time),
registrant: [responder.history_domain.new_registrant_id],
legacy_documents: files.map(&:id)
legacy_documents: files.compact.map(&:id)
}
}
data << hash