Email Templates does not parse dynamicenum field types #9370
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
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
Context
This is a high priority Issue. In other modules also happens and has fixes.
Your Environment
The text was updated successfully, but these errors were encountered: