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 archiving with special characters (smileys) fails #97

Open
cperrot opened this issue Feb 23, 2019 · 11 comments
Open

Email archiving with special characters (smileys) fails #97

cperrot opened this issue Feb 23, 2019 · 11 comments

Comments

@cperrot
Copy link

cperrot commented Feb 23, 2019

Issue

A email containing a smiley hex combination (\xF0\x9F\x98\x8A\x0D\x0A)
😊 fails with Internal Server Error 500

MySQL error 1366: Incorrect string value: '\xF0\x9F\x98\x8A\x0D\x0A...' for column 'description' at row 1

Expected Behavior

Not failing

Actual Behavior

Failing

Possible Fix

Either sanity check the content or delete non compatible symbols

Steps to Reproduce

  1. Send yourself a Smiley
  2. Archive the email to contact

Context

Logs

Your Environment

  • Outlook Plugin Version used: 3.0.25.2
  • Outlook Client Version used: 2016
  • SuiteCRM Version used: 7.11.1
  • Host (e.g. PC, Server): Ubuntu 18.04
@cperrot
Copy link
Author

cperrot commented Feb 23, 2019

@simon-brooke
Copy link
Contributor

Can you check your version number, please? We have not yet issued 3.0.25.2, we're only up to 3.0.18.0. Obviously if you're on your own branch you're on your own, but I have seen this bug recently and if my memory serves we've fixed it.

@cperrot
Copy link
Author

cperrot commented Feb 25, 2019

I pulled the latest version from the master branch and compiled it myself just to make sure the problem wasn't fixed in the latest master version.

@simon-brooke
Copy link
Contributor

Fair enough. So the version number when pulled was 3.0.18.0? Or 3.0.17.0?

The number auto-increments each time you do a release build, so that probably accounts for the difference.

I know we've seen this recently, but I can't currently find it in my notes. From memory, please check whether your MySQL database is configured to accept UTF.

@cperrot
Copy link
Author

cperrot commented Feb 26, 2019

Yes, my database is configured to use utf8-general-ci. I pulled the version 3.0.18.
I even tried to convert the descrition field in contacts and emails_text into utf8mb4.
It worked for the contact.description field but the email_text.description field still threw an error.

@simon-brooke
Copy link
Contributor

simon-brooke commented Feb 27, 2019 via email

@simon-brooke
Copy link
Contributor

Scratch that, I see you've already given me one. I'll test it and let you know.

@simon-brooke
Copy link
Contributor

OK, can confirm I can reproduce your error. It's on my TODO list, but I can't promise when.

@cperrot
Copy link
Author

cperrot commented Apr 6, 2019

Do you have an ETA on this issue?

@sasha2002
Copy link

salesagility/SuiteCRM#6447
The problem persist and no ETA as i see, an is Low priority.....
SugarCRM v9 fixed problem with smile.

@sasha2002
Copy link

Nearly a year and nothing .....
Can someone from SalesAgility say when it will be fixed?
Or maybe when fix from SugarCRM can be imported in suiteCRM ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants