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

Descrition field in tasks shows html-entities for special characters #510

Open
Porhoken opened this issue Jul 15, 2024 · 2 comments
Open
Labels
Area: Language Issues & PRs that are confirmed as issues with language & translation within the core Priority:Moderate Issues & PRs that are minor; broken styling; warns; there are practical workarounds Severity: Moderate Minor Impact Type: Bug Something isn't working

Comments

@Porhoken
Copy link

Issue

When in detail view of a task, the description field shows special characters (umlauts, accented etc.) as html-entities.

Possible Fix

No response

Steps to Reproduce the Issue

1. Create a task.
2. Have a text in the description field containing special characters.
3. Save task and open detail view - description text is shown with html-entites for special characters.

Context

Happens with "english_us" gui, as well as with installed and activated german language pack.

The subject field is not affected!

Crosschecked with version 8.6.0 - the issue is not there, only in 8.6.1.

Checked the SuiteCRM 8.6.1 online demo - happens there as well!

The content in the database is correct (ä,ö,ü), i checked that on my install.

Possibly related to #471 and #474, but is a different part of the gui. Umlauts in my gui show fine.

Version

8.6.1

What browser are you currently using?

Chrome

Browser Version

126.0.6478.127 (64 bit)

Environment Information

mariadb, php 8.2.21

Operating System and Version

Ubuntu 24.04 server, minimal install

@Porhoken Porhoken added the Type: Bug Something isn't working label Jul 15, 2024
@johnM2401 johnM2401 added Priority:Moderate Issues & PRs that are minor; broken styling; warns; there are practical workarounds Area: Language Issues & PRs that are confirmed as issues with language & translation within the core Severity: Moderate Minor Impact labels Jul 15, 2024
@chris001
Copy link
Contributor

Note for anyone who makes the fix for this: All fields containing user input, (e.g. Subject, Description, email subject, email body, email campaigns, etc) should be processed and displayed with the same code - and correctly display special characters. When it breaks for one field, it would break for all fields, quickly detected, and fixed.

@raulumonzalvez
Copy link

raulumonzalvez commented Aug 26, 2024

This applies to all text area fields. (for example, the "Description" field in Accounts). For the text "España. Camión":

In 8.6.0 the text displayed in detail view or edit view is: España. Camión
In 8.6.1 or 8.6.2 the text displayed is: España. Camión

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Language Issues & PRs that are confirmed as issues with language & translation within the core Priority:Moderate Issues & PRs that are minor; broken styling; warns; there are practical workarounds Severity: Moderate Minor Impact Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants