Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email date parser error #1006

Open
dainiusgliebus opened this issue Apr 16, 2020 · 0 comments
Open

Email date parser error #1006

dainiusgliebus opened this issue Apr 16, 2020 · 0 comments

Comments

@dainiusgliebus
Copy link

Summary
Email import fails to parse date.

Steps to reproduce
Error occurred while trying to process email: Cannot parse email message. Subject: XTG S.A. POLAND. Error: Failed to parse time string "Cz, 16 kwi 2020 11:04:29 +0200" at position 0: The timezone could not be found in the database. Original value: "Cz, 16 kwi 2020 11:04:29 +0200".. Stacktrace:
#0 /var/www/crm/vendor/oro/platform/src/Oro/Bundle/ImapBundle/Manager/ImapEmailManager.php(529): Oro\Bundle\ImapBundle\Util\DateTimeParser::parse(' 16 kwi 2020 11...')
#1 /var/www/crm/vendor/oro/platform/src/Oro/Bundle/ImapBundle/Manager/ImapEmailManager.php(419): Oro\Bundle\ImapBundle\Manager\ImapEmailManager->convertToDateTime('Cz, 16 kwi 2020...')
#2 /var/www/crm/vendor/oro/platform/src/Oro/Bundle/ImapBundle/Manager/ImapEmailManager.php(207): Oro\Bundle\ImapBundle\Manager\ImapEmailManager->getDateTime(Object(Oro\Bundle\ImapBundle\Mail\Headers), 'Date')
#3 /var/www/crm/vendor/oro/platform/src/Oro/Bundle/ImapBundle/Manager/ImapEmailIterator.php(186): Oro\Bundle\ImapBundle\Manager\ImapEmailManager->convertToEmail(Object(Oro\Bundle\ImapBundle\Mail\Storage\Message))
#4 /var/www/crm/vendor/oro/platform/src/Oro/Bundle/ImapBundle/Manager/ImapEmailIterator.php(45): Oro\Bundle\ImapBundle\Manager\ImapEmailIterator->handleBatchLoaded(Array)

  • OroPlatform version: 3.1.6
  • PHP version: 7.1
  • Database MySQL version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant