[Vtigercrm-commits] [vtiger development] #6990: Mobile Module: Record Creation Failure
vtiger development
vtiger-tickets at trac.vtiger.com
Thu Jan 20 23:40:11 PST 2011
#6990: Mobile Module: Record Creation Failure
------------------------+---------------------------------------------------
Reporter: prasad | Owner: developer
Type: defect | Status: new
Priority: major | Milestone: Unassigned
Component: vtigercrm | Version: 5.2.1
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by prasad):
To fix, we need to modify few lines in the file:
modules/Mobile/api/ws/FetchRecordWithGrouping.php
function transformRecordWithGrouping, line ~143
{{{
// Fix the assigned to uitype
if ($field['uitype'] == '53') {
$defaultUserWSID = Mobile_WS_Utils::getEntityModuleWSId('Users')
.'x'. $current_user->id;
$field['type']['defaultValue'] = array('value' =>
$defaultUserWSID, 'label' => $current_user->column_fields['last_name']);
} else ...
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6990#comment:1>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list