Import emails not working on v7.10.8

After importing an email and assigning it to an user, I’ll get a blank screen. If I go back to Emails ListView, the user assigned to will not change. In the logs I have:


Thu Sep 13 15:35:01 2018 [10001][224b09b1-a77f-f3a5-aa82-5ad76e47e9c6][WARN] Email ID is Empty
Thu Sep 13 15:35:01 2018 [10020][-none-][WARN] Configuration variable date.timezone is not set, guessed timezone America/Sao_Paulo. Please set date.timezone="America/Sao_Paulo" in php.ini!
Thu Sep 13 15:35:02 2018 [10020][1][DEPRECATED] Formatting correction: SchedulersJobs->date_entered had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Thu Sep 13 15:35:02 2018 [10020][1][DEPRECATED] Formatting correction: SchedulersJobs->date_modified had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Thu Sep 13 15:35:02 2018 [10020][1][DEPRECATED] Formatting correction: SchedulersJobs->execute_time had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Thu Sep 13 15:35:02 2018 [10020][1][WARN] There is no any workflow to run
Thu Sep 13 15:35:02 2018 [10020][1][DEPRECATED] Formatting correction: SchedulersJobs->date_entered had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Thu Sep 13 15:35:02 2018 [10020][1][DEPRECATED] Formatting correction: SchedulersJobs->date_modified had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Thu Sep 13 15:35:02 2018 [10020][1][DEPRECATED] Formatting correction: SchedulersJobs->execute_time had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Thu Sep 13 15:35:02 2018 [10020][1][FATAL] Job 1ba951e9-e7a0-fe04-7e01-5b9aad263685 (Run Email Reminder Notifications) failed in CRON run
Thu Sep 13 15:35:02 2018 [10020][1][DEPRECATED] Formatting correction: SchedulersJobs->failure_count had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Thu Sep 13 15:35:03 2018 [10001][224b09b1-a77f-f3a5-aa82-5ad76e47e9c6][WARN] Request ssl value not found.
Thu Sep 13 15:35:03 2018 [10001][224b09b1-a77f-f3a5-aa82-5ad76e47e9c6][WARN] Saving error level. Try to remove the error_reporting() function from your code.
Thu Sep 13 15:35:04 2018 [10001][224b09b1-a77f-f3a5-aa82-5ad76e47e9c6][ERROR] Pop error level. Try to remove the error_reporting() function from your code.
Thu Sep 13 15:35:04 2018 [10001][224b09b1-a77f-f3a5-aa82-5ad76e47e9c6][ERROR] fromUser: Conversion of   from user format d/m/Y H:i failed
Thu Sep 13 15:35:04 2018 [10001][224b09b1-a77f-f3a5-aa82-5ad76e47e9c6][ERROR] Unable to find relationship emails_email_templates
Thu Sep 13 15:35:04 2018 [10001][224b09b1-a77f-f3a5-aa82-5ad76e47e9c6][WARN] emails_email_templates for emails_email_templates failed to load

Thu Sep 13 15:35:04 2018 [10001][224b09b1-a77f-f3a5-aa82-5ad76e47e9c6][WARN] Failed to load relationship emails_email_templates while saving Emails
Thu Sep 13 15:35:05 2018 [10001][224b09b1-a77f-f3a5-aa82-5ad76e47e9c6][WARN] CaseUpdatesHook: saveEmailUpdate: Not a create case or wrong parent type
Thu Sep 13 15:35:05 2018 [10001][224b09b1-a77f-f3a5-aa82-5ad76e47e9c6][WARN] Undefined index: server_unique_key

If I try to import through Bulk Action (selecting the messages’ checkbox and going to Bulk Action), it will not show the blank screen but it will not import either.

Besides, when trying to select an user to assign the message to, the quicksearch will not work and, clicking the arrow and selecting the user from the pop-up list, will not work either.

Thank you very much

It seems it happens only when the inbound account is a group account and in its configuration the option “Import Emails Automatically” is activated.

We’ll look at trying to replicate this on our end and if so we’ll raise the bug (unless you wish to do so first on our bugtracker first) :thumbsup:

Anyone else having this issue @community?

1 Like

Thank you @samus-aran. I’ve been investigating a bit more. If “Import emails automatically” is not activated for the group inbound account, it will import correctly. But, when assigning to an user, I can only assign to myself, which is the user that shows by default. If I try to quicksearch for another user or clicking the arrow to pick from the pop-up list, it will not change the field Assigned to and will assign to myself.

Something similar happens with import through Bulk Action. What is similar in these both situations is that the Import form appears as a modal with an animation from the top. If I Edit a message already imported, the Detail View will show “Edit” instead of “Import”. If I click Edit, the fields appear in a new page, not in a modal. In this case, quicksearch and pick from the pop-up window will work!

Another weird situation is that, when “Import emails automatically” is activated, the Detail View of each message will show the option “Import” on Actions menu, instead of “Edit”.

I’ve made a video showing the error.
https://drive.google.com/file/d/1KpXtp2PMakLiFcM2p9q4PE6sAiJfwRgJ/view?usp=sharing

1 Like

Did anyone create an issue in github yet? (I don’t want to create a duplicate issue)

I’m having the exact same error as 3bipotic. Great video showing the error!

I opened a github issue at: #6321