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 Templates does not parse dynamicenum field types #9370

Open
resourcing opened this issue Nov 19, 2021 · 1 comment
Open

Email Templates does not parse dynamicenum field types #9370

resourcing opened this issue Nov 19, 2021 · 1 comment
Labels
Area: Emails Issues & PRs related to all things regarding emails & email module Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Type: Bug Bugs within the core SuiteCRM codebase

Comments

@resourcing
Copy link

Issue

When you have a dynamicenum Dropdown Field or multienum field and shows into a Email Template, it does not parse the value and shows the ID instead. This is a bug because ID is showed between ^ character.

EXAMPLE of Email Template (bold is Dynamicenum field $opportunities_programadestino_c)
Adjunto le incluimos la hoja de folleto correspondiente al Programa ^IE^ para el curso 2021/2022 que contiene una descripción de los elementos fundamentales del mismo y también le adjuntamos el Dossier informativo que amplía la información dada por el folleto.

Expected Behavior

The ^IE^ ID shoud be replaced by its real value 'Ireland'

Actual Behavior

The ID is shown instead Value of field

Possible Fix

Add Dynamicenum parsing to Email templates

Steps to Reproduce

  1. Create a Dynamic Dropdown field in Opportunities and load some values
  2. Create an Opportunity and mark any value for this field
  3. Create a Email Template and link this field into mail subject or mail body
  4. Send an Email to any address using the template and relating the opportunity you have created
  5. See received email and check that ID is shown instead Value

Context

This is a high priority Issue. In other modules also happens and has fixes.

Your Environment

  • SuiteCRM Version used: 7.11
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Every browser
  • Environment name and version (e.g. MySQL, PHP 7): PHP 7.3
  • Operating System and version (e.g Ubuntu 16.04): Ubuntu 16.04
@johnM2401 johnM2401 added Area: Emails Issues & PRs related to all things regarding emails & email module Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Type: Bug Bugs within the core SuiteCRM codebase labels Nov 24, 2021
@resourcing
Copy link
Author

Hi! Anyone with this issue in SuiteCRM?

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Emails Issues & PRs related to all things regarding emails & email module Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Type: Bug Bugs within the core SuiteCRM codebase
Projects
None yet
Development

No branches or pull requests

2 participants