[Vtigercrm-commits] [vtiger development] #7629: Webservices Query Failures on Products Module
vtiger development
vtiger-tickets at trac.vtiger.com
Sun Dec 30 11:43:33 PST 2012
#7629: Webservices Query Failures on Products Module
------------------------+---------------------------------------------------
Reporter: prasad | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: Unassigned
Component: vtigercrm | Version: 5.4.0
Severity: Medium | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by prasad):
Stack-trace indicated the value 0 sent for assigned_user_id,
include/Webservices/DataTransform.php(240): vtws_getOwnerType('0')
Possible the target record was older one that existed before
assigned_user_id field was added to the system.
Workaround:
{{{
function vtws_getOwnerType($ownerId){
// ...
if(vtws_isRecordOwnerUser($ownerId) == true || $ownerId === '0'){
return 'Users';
}
// ...
}
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7629#comment:2>
vtiger development <http://trac.vtiger.com/>
vtiger CRM
More information about the vtigercrm-commits
mailing list