Story#111864739 - do not throw an error.

This commit is contained in:
Vladimir Krylov 2016-03-18 14:43:21 +02:00
parent 30fe6bd1e6
commit 14b246d692
2 changed files with 0 additions and 2 deletions

View file

@ -235,7 +235,6 @@ class Epp::Contact < Contact
document_type: legal_document_data[:type],
body: legal_document_data[:body]
)
raise ActiveRecord::Rollback if doc && doc.id.nil?
self.legal_documents = [doc]
frame.css("legalDocument").first.content = doc.path if doc && doc.persisted?

View file

@ -210,7 +210,6 @@ class Epp::Domain < Domain
document_type: legal_document_data[:type],
body: legal_document_data[:body]
)
raise ActiveRecord::Rollback if doc && doc.id.nil?
self.legal_documents = [doc]
frame.css("legalDocument").first.content = doc.path if doc && doc.persisted?