[Vtigercrm-commits] [vtiger development] #7421: Mobile API: fetchOfRecord - Permission to perform the operation is denied for id
vtiger development
vtiger-tickets at trac.vtiger.com
Tue May 22 03:32:53 PDT 2012
#7421: Mobile API: fetchOfRecord - Permission to perform the operation is denied
for id
-----------------------+----------------------------------------------------
Reporter: prasad | Owner: developer
Type: defect | Status: new
Priority: major | Milestone: Unassigned
Component: vtigercrm | Version: 5.4.0
Severity: Medium | Resolution:
Keywords: |
-----------------------+----------------------------------------------------
Comment (by prasad):
Fix: modules/api/ws/Utils.php
Eliminate duplicate fieldname being pulled based on UIType - use DISTINCT
in SQL query.
{{{
static function detectFieldnamesToResolve($module) {
...
$result = $adb->pquery(
"SELECT DISTINCT fieldname FROM vtiger_field WHERE uitype IN(".
generateQuestionMarks($resolveUITypes) .") AND tabid=?",
array($resolveUITypes, getTabid($module))
);
...
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7421#comment:1>
vtiger development <http://trac.vtiger.com/>
vtiger CRM
More information about the vtigercrm-commits
mailing list