[Vtigercrm-commits] [vtiger development] #6427: workflow cron sometimes generates Fatal error
vtiger development
vtiger-tickets at trac.vtiger.com
Thu Nov 19 16:06:39 EST 2009
#6427: workflow cron sometimes generates Fatal error
------------------------+---------------------------------------------------
Reporter: jsherk | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: 5.2.0
Component: vtigercrm | Version: 5.1.0
Keywords: |
------------------------+---------------------------------------------------
I have the following workflow setup:
Create a New Workflow for Module: Contacts.
Enter a description and set When To Run = Every time the the record is
saved.
Create a New Condition.
Set first field to Contact Id .
Set second field to Does Not Contain .
Leave the third field to bla-bla-bla (basically the Contact Id field
should never contain bla-bla-bla, so the condition should always be true).
Click SAVE.
Create New Task = Send Email.
Enter a Task Title.
Recipient = your at email.com.
Subject = test.
Message = test.
Click SAVE
Now, when you create a New Contact or Update/Save an existing contact,
most of the time the workflow will run properly and the email will be
sent, but sometimes (maybe 1 in 10 times) you will receive the following
error from the Cron job, and the email will not be sent:
Fatal error: Uncaught exception 'WebServiceException' with message
'Permission to perform the operation is denied' in
/home/mydomain/public_html/vtiger/include/Webservices/Retrieve.php:26
Stack trace:
#0
/home/mydomain/public_html/vtiger/modules/com_vtiger_workflow/VTEntityCache.inc(16):
vtws_retrieve()
#1
/home/mydomain/public_html/vtiger/cron/modules/com_vtiger_workflow/com_vtiger_workflow.service(58):
VTWorkflowEntity->__construct('4x388', Object(Users))
#2
/home/mydomain/public_html/vtiger/cron/modules/com_vtiger_workflow/com_vtiger_workflow.service(62):
vtRunTaskJob()
#3 /home/mydomain/public_html/vtiger/vtigercron.php(55):
include_once('/home/mydomain/publ...')
#4 {main}
thrown in
/home/mydomain/public_html/vtiger/include/Webservices/Retrieve.php on line
26
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6427>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list