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

Workflow - Conditions doesn't recognize some of the characters sets #9900

Closed
SinergiaCRM opened this issue Jan 17, 2023 · 0 comments · Fixed by #9901
Closed

Workflow - Conditions doesn't recognize some of the characters sets #9900

SinergiaCRM opened this issue Jan 17, 2023 · 0 comments · Fixed by #9901
Labels
Area: Workflow Issues & PRs related to all things regarding workflow Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Status:Fix Proposed A issue that has a PR related to it that provides a possible resolution Type: Bug Bugs within the core SuiteCRM codebase

Comments

@SinergiaCRM
Copy link
Contributor

When having a condition of a text field that contains any special character, such as accents, "ñ", or "c" characters, the condition doesn't fulfill and the workflow isn't processed.
HtmlCondition

This is because the workflow doesn't decode profile the HTML entities

Issue

Workflow conditions of text fields that compare special characters doesn't work properly

Expected Behavior

It should work with any character.

Actual Behavior

The workflows isn't executed cause the condition isn't met.

Possible Fix

Add the code for decode HTML entities.

Steps to Reproduce

  1. Create a workflow that compares "aña" with last_name of a Contact
  2. Add any action
  3. Create a Contact with last_name "aña" and check the the Workflow didn't execute

Context

It should work with any character.

Your Environment

  • SuiteCRM Version used: 7.12.8
  • Browser name and version: Versión 107.0.5304.121 (Build oficial) (64 bits)
  • Environment name and version: MariaDB 10.6.5, PHP 7.4
  • Operating System and version : KDE Neon 5.26
AlbertoSTIC pushed a commit to SinergiaTIC/SuiteCRM that referenced this issue Jan 17, 2023
@gemartin21 gemartin21 added Status:Fix Proposed A issue that has a PR related to it that provides a possible resolution Area: Workflow Issues & PRs related to all things regarding workflow labels Jan 24, 2023
@johnM2401 johnM2401 added Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Type: Bug Bugs within the core SuiteCRM codebase labels Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Workflow Issues & PRs related to all things regarding workflow Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Status:Fix Proposed A issue that has a PR related to it that provides a possible resolution Type: Bug Bugs within the core SuiteCRM codebase
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants