[Vtigercrm-developers] Mail Manager issues

James Purdy james.purdy at wildtv.ca
Wed Jun 20 12:51:51 PDT 2012


Hello all,

I'm seeing a strange issue with the Mail Manager module, it has only 
cropped up recently.

Whenever any user, even admin, tries to send via Mail Manager to any 
contact or to a written email address, the operation fails.  vtiger 
writes the following into the errorlog:

--error--
PHP Fatal error:  Uncaught exception 'WebServiceException' with message 
'Permission to perform the operation is denied for name' in 
/var/www/vtigercrm/include/Webservices/VtigerWebserviceObject.php:50
Stack trace:
#0 /var/www/vtigercrm/include/Webservices/Utils.php(427): 
VtigerWebserviceObject::fromName(Object(PearDatabase), NULL)
#1 /var/www/vtigercrm/include/utils/EmailTemplate.php(55): 
vtws_getModuleHandlerFromName(NULL, Object(Users))
#2 /var/www/vtigercrm/include/utils/EmailTemplate.php(169): 
EmailTemplate->process()
#3 /var/www/vtigercrm/include/utils/CommonUtils.php(2154): 
EmailTemplate->getProcessedDescription()
#4 
/var/www/vtigercrm/modules/MailManager/src/controllers/MailController.php(142): 
getMergedDescription('<p>??bl;ah</p>?', '1', NULL)
#5 /var/www/vtigercrm/modules/MailManager/index.php(43): 
MailManager_MailController->process(Object(MailManager_Request))
#6 /var/www/vtigercrm/modules/MailManager/index.php(59): 
MailManager_IndexController->process(Object(MailManager_Request))
#7 /var/www/vtigercrm/include/Ajax/ in 
/var/www/vtigercrm/include/Webservices/VtigerWebserviceObject.php on 
line 50, referer: ...
--end error--

Has anyone else seen this?  If WebService is going to throw an 
exception, why would the calling code not be wrapped in a try { ... } 
catch { ... } ?

Have I stumbled across a bug?

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



More information about the vtigercrm-developers mailing list