OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – How do I? Questions Import. Notification when the import file isn’t valid

This topic contains 2 replies, has 2 voices, and was last updated by  shumdok 6 years, 6 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #36505

    shumdok
    Participant

    Hi.

    Is there any opportunity to add “send email” notification when the import file isn’t valid? As for example, if any issues occurred in import process I will receive the email with the error message.At the same time, I wouldn’t receive any notification if file has wrong structure.
    Please advise.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #36506

    akhristiansen
    Participant

    Hello, @shumdok! As i know, orocrm does not have possibility to send such emails out from the box. This issue is complicated, because there are plenty of different classes are involved in import\export process and and any of them can occur error.I think that import errors must be logged to log file, and you can try to find error message there.

    Also, as variant, that need to be checked, you can modify code to add messages sending. For example, we have such class

    that has several methods, that are adding validation errors.

    I do not sure witch of this methods are capable of file validation, but you can try to extend this helper, and overwrite methods with updated code, that will send email to you.

    #36507

    shumdok
    Participant

    Thanks for reply.

Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.

Back to top