[Vtigercrm-developers] Workflow editor - Failure:[object Object]

Alan Lord alanslists at gmail.com
Thu Jul 26 02:46:01 PDT 2012


On 25/07/12 22:21, Richard Hills wrote:
>
>> Failure:[object Object]
>

This is really weird...

I had not seen this error before today. I just started working on a new 
workflow for a client on my local test system (which I had worked on 
before without this error) and got this "Failure:[object Object]" error 
popup.

This is a Javascript Alert error. It happens to me in both Firefox 14 
and in Google Chrome. My machine is running Ubuntu 12.04.

Firebug shows me:

SyntaxError: JSON.parse: unexpected character
[Break On This Error] 	

var parsed = JSON.parse(result);

In modules/com_vtiger_workflow/resources/fieldexpressionpopup.js line 325.

In Chrome, the Javascript console reports a slightly different error but 
at the same place:

Uncaught SyntaxError: Unexpected token F
setModule
success
jQuery.extend.ajax.onreadystatechange

On trying to open a Task within a workflow I see the following php error:

Fatal error: Uncaught exception 'WebServiceException' with message 
'Permission to perform the operation is denied' in 
/var/www/vt54/include/Webservices/DescribeObject.php:25 Stack trace: #0 
/var/www/vt54/include/events/VTWSEntityType.inc(30): 
vtws_describe('HelpDesk', Object(Users)) #1 
/var/www/vt54/include/events/VTWSEntityType.inc(38): 
VTWSEntityType->__construct('HelpDesk', Object(Users)) #2 
/var/www/vt54/modules/com_vtiger_workflow/edittask.php(69): 
VTWSEntityType::usingGlobalCurrentUser('HelpDesk') #3 
/var/www/vt54/modules/com_vtiger_workflow/edittask.php(125): 
vtTaskEdit(Object(PearDatabase), Array, 'en_gb', Array) #4 
/var/www/vt54/index.php(749): include('/var/www/vt54/m...') #5 {main} 
thrown in /var/www/vt54/include/Webservices/DescribeObject.php on line 25

On a similar vtiger system (5.4.0) on a remote server (running Ubuntu 
12.04 server) I do not see this error...

Any ideas chaps?

TIA

Alan




More information about the vtigercrm-developers mailing list