[Vtigercrm-developers] Mail Manager issues

James Purdy james.purdy at wildtv.ca
Wed Jun 20 13:20:47 PDT 2012


Hi Adam,

Thanks for the quick response, version 5.4.0.

The code in question:
if ($relateto[1] != NULL) {
$entityId = $relateto[1];
$parent_module = getSalesEntityType($entityId);
$description = getMergedDescription($body, $entityId, $parent_module);
}

Now, I find that $entityId is integer 1.  $parent_module is empty.  I'm 
not sure what getSalesEntityType should be returning - but the results 
are the same if I send to an Organization or Contact or just any random 
email address.

Thanks,

James Purdy
WildTV
[e]: james.purdy at wildtv.ca


On 06/20/2012 02:00 PM, Adam Heinz wrote:
> Interesting.  Reading through your stack trace, it looks like somehow 
> you're looking up a NULL module.  What version of vTiger are you 
> running?  I'd take a look at the code around
>
> #4
> /var/www/vtigercrm/modules/MailManager/src/controllers/MailController.php(142):
> getMergedDescription('<p>??bl;ah</p>?', '1', NULL)
>
> and try to figure out where that NULL is coming from.
>
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120620/bc32c946/attachment.html 


More information about the vtigercrm-developers mailing list