vt71: Sent Emails saved with template variable names, NOT the actual data. Big problem.
I was working on something for a customer and when I checked the debug log I noticed this:
Fri Feb 1 11:39:33 2019,837 [4891] DEBUG VT - Prepared sql query being executed : UPDATE vtiger_crmentity SET label=? WHERE crmid=?
Fri Feb 1 11:39:33 2019,837 [4891] DEBUG VT - Prepared sql query parameters : [$lscontracts-legal_name$ / Company - New Agreement Starts Soon,8840617]
And this is indeed what is being stored in the crmentity table for this row. This is the template variable $lscontracts-legal_name$
rather than what this was replaced by in the actual email that was sent; the company's name...
I presume this is not correct is it?