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

SuiteCRM 7.9.3 isn't saving UTF-8 characters on all modules #3923

Closed
cumanacr opened this issue Jul 19, 2017 · 2 comments
Closed

SuiteCRM 7.9.3 isn't saving UTF-8 characters on all modules #3923

cumanacr opened this issue Jul 19, 2017 · 2 comments

Comments

@cumanacr
Copy link
Contributor

Issue

The UTF-8 characters in the text are removed on saving in all modules.
This bug is especially annoying creating email templates on campaigns module.

Expected Behavior

Saving an opportunity:
Opportunity name: Spanish = Español
Opportunity description: Vowels = aeiou | Vowels branded: áéíóú | Clay-colored thrush = Yigüirro

Actual Behavior

Saving an opportunity:
Opportunity name: Spanish = Espal
Opportunity description: Vowels = aeiou | Vowels branded: | Clay-colored thrush = Yigrro

Possible Fix

I tested on SuiteCRM 7.9.2 and backward and everything worked as expected, the bug was introduced on SuiteCRM 7.9.3

Steps to Reproduce

  1. Create a new oportunity with any UTF-8 character on name, eg: Español
  2. The UTF-8 character and the following non-UTF-8 character aren't save, eg: Espal (ño disappear)

Context

I was creating an email template on campaigns module with mozaik and notice how several characters dissapear

I then check in another instance with SuiteCRM 7.9.2, 7.9.1 and backward and the same text was saved without problem.

Then I check creating some opportunities, contacts, accounts, etc and the problem appears on every module.

You can check on a test enviroment with SuiteCRM 7.9.2 UTF works: git reset --hard 084f2f3f1 084f2f3
You can check on a test enviroment with SuiteCRM 7.9.3 UTF doesn't work: git reset --hard 3daeb36ed 3daeb36

Your Environment

  • SuiteCRM Version used: 7.9.3
  • Browser name and version: Google Chrome Version 59.0.3071.115 (Official Build) (64-bit)
  • Environment name and version:
    • mysql Ver 14.14 Distrib 5.7.18, for Linux (x86_64) using EditLine wrapper
    • PHP 5.6.31-1~ubuntu16.04.1+deb.sury.org+1 (cli)
    • Apache/2.4.18 (Ubuntu)
  • Operating System and version:
    • Distributor ID: neon
    • Description: KDE neon User Edition 5.10
    • Release: 16.04
    • Codename: xenial
@javitoron
Copy link
Contributor

This is a duplicate of #3903 and there is an easy fix there!

@cumanacr
Copy link
Contributor Author

@javitoron thank you indeed commit 74a4c55 fixed

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

2 participants