[Vtigercrm-commits] [vtiger development] #7274: Mobile Module API: Warning thrown in api/ws/FetchRecordWithGrouping.php
vtiger development
vtiger-tickets at trac.vtiger.com
Mon Dec 26 03:29:33 PST 2011
#7274: Mobile Module API: Warning thrown in api/ws/FetchRecordWithGrouping.php
-------------------------+--------------------------------------------------
Reporter: prasad | Owner: developer
Type: defect | Status: new
Priority: major | Milestone: Unassigned
Component: webservices | Version: 5.3.0
Severity: Medium | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by prasad):
Edge case handling:
File: modules/Mobile/api/ws/FetchRecordWithGrouping.php
Function: transformRecordWithGrouping
{{{
// Template record requested send more details if available
if ($isTemplateRecord) {
$describeFieldInfo = $this->cachedDescribeFieldInfo($fieldname);
// Fix: Skipping fields having not describe information (like
modifiedby...)
if ($describeFieldInfo) {
// Move the code inside if ...
foreach($describeFieldInfo as $k=>$v) {
if (isset($field[$k])) continue;
$field[$k] = $v;
}
}
// Entity fieldnames
$labelFields = $this->cachedEntityFieldnames($module);
}
// ... rest of the code ...
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7274#comment:1>
vtiger development <http://trac.vtiger.com/>
vtiger CRM
More information about the vtigercrm-commits
mailing list