Bugfix/issue 542 accented character displayed incorrectly#579
Bugfix/issue 542 accented character displayed incorrectly#579cvillarongace wants to merge 2 commits intoSuiteCRM:hotfixfrom
Conversation
|
Unfortunately this solution doesn't seem to work for "TextArea" type fields, such as the "Description" fields of Contacts or Leads. |
|
Hi @fmarsico70 |
|
@cvillarongace, You need to sign CLA for this one too. |
|
Ok, I've added both addresses to my Github profile, but it doesn't seem to change anything. Is there anything else I can try? |
|
@cvillarongace Now try to sign CLA again and submit. |
|
I did that but It was unsuccessful. |
a73d02d to
d71ddea
Compare
|
@shubham-pawar It seems that it didn't work the same here, any suggestions? |
d71ddea to
39d5185
Compare
|
@shubham-pawar done. |
|
@cvillarongace Thank you 💯 🥇 |
|
Hello. I only have this error in the description field for accounts. In other fields, like this, everything is ok. I changed the field type to VARCHAR (10000) with MySQL Workbench and then ran a quick repair. The Suite itself generated a script to improve the handling of this field. Of course, i previously checked whether this field does not contain more characters. It works ok. After correcting this error, i will restore the type to text medium as it was originally. |
|
@TomaszSR, you need to check if description field as of type text, textArea or textField from the studio. I think we get characters issue when field is of type textArea. |
|
@shubham-pawar you were right. It worked. Thank you very much. |
Description
A bug was identified where special characters in text fields were not properly handled. This issue was resolved by adding a new format for text fields that can be extended to handle additional characters. The following changes were made:
New Files Added:
text-formatter.service.ts: Implements logic for handling and formatting special characters, designed to be extensible.text-formatter.service.spec.mock.ts: Provides mock data and unit tests for thetext-formatter.service.ts.Modifications to Existing Files:
data-type.formatter.service.ts: Added theTextFormatterto the list of formats, integrating the new functionality into the existing service.filter-field.builder.ts: Fixed an issue where the formatted value was not assigned to text fields. Added the following lines:For more details, see GitHub Issue #542.
Motivation and Context
How To Test This
Types of changes
Final checklist