[Vtigercrm-commits] [Vtiger development] #8523: Some Emails in MailManagers returns null JSON
Vtiger development
vtiger-tickets at trac.vtiger.com
Tue Mar 24 15:25:36 GMT 2015
#8523: Some Emails in MailManagers returns null JSON
-----------------------+--------------------------------------
Reporter: rpg | Owner: developer
Type: defect | Status: new
Priority: critical | Milestone: 6.2.0
Component: vtigercrm | Version: 6.2.0
Severity: Critical | Keywords: MailManager blank emails
-----------------------+--------------------------------------
Can't open some e-mails in the MailManager, this e-mails returns this
message in the console browser:
''"SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of
the JSON data"''
In the file:
layout/vlayout/modules/MailManager/resources/MailManager.js line 673
After some test i see this function cause all the problems:
'''File:''' modules/MailManager/models/Message.php
'''Function:''' getBodyHTML
If we comment this line:
$bodyhtml = MailManager_Utils_Helper::safe_html_string($bodyhtml);
All the emails work's perfect. But if this line is active some emails
can't opened with the MailManager.
For example you can test with e-mails received from vtiger dev list.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8523>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list