If anyone really wants to debug this I suggest the following.
Go here: SuiteCRM/SugarFieldHandler.php at master Ā· salesagility/SuiteCRM Ā· GitHub
And change those lines
} else {
$string = $field->$displayTypeFunc($parentFieldArray, $vardef, $displayParams, $tabindex);
}
to add some logging:
} else {
$c= New \ReflectionClass($field);
$f= $c->getMethod($displayTypeFunc)->getFileName();
$GLOBALS['log']->fatal('SugarFieldHandler.php: vardef is ' . $vardef['name'] . ' of type ' . $vardef['type'] . ' at ' . $f);
$string = $field->$displayTypeFunc($parentFieldArray, $vardef, $displayParams, $tabindex);
}
Now, between each test you have to go and delete some cached tpls:
cache/smarty/templates_c/%%D1^D15^D1540D1D%%ComposeView.tpl.php
(the codes can be different but the Composeview.tpl.php part should be there)
cache/themes/SuiteR/modules/Emails/ComposeView.tpl
(if it exists, but probably it wonāt)
cache/themes/SuiteP/modules/Emails/ComposeView.tpl
Then, visit the Compose window once and you will see messages in the logs explaining which files were used for each SugarField. The ones you are interested in are description and description_html. Tell me what you find.