[Vtigercrm-commits] [vtiger development] #7414: Import of Opportunities - Creates duplicate Contacts

vtiger development vtiger-tickets at trac.vtiger.com
Mon May 14 10:36:30 PDT 2012


#7414: Import of Opportunities - Creates duplicate Contacts
-----------------------+----------------------------------------------------
 Reporter:  prasad     |        Owner:  prasad  
     Type:  defect     |       Status:  assigned
 Priority:  major      |    Milestone:  6.0.0   
Component:  vtigercrm  |      Version:  5.4.0   
 Severity:  Medium     |   Resolution:          
 Keywords:             |  
-----------------------+----------------------------------------------------
Changes (by prasad):

  * status:  new => assigned
  * owner:  developer => prasad

Comment:

 Suggested fix.
 File: include/utils/ListViewUtils.php
 {{{
 function getEntityId($module, $entityName) {
 ...
 if (!(strpos($fieldsname, ',') === false)) {
                 $fieldlists = explode(',', $fieldsname);
                 $fieldsname = "trim(concat(";  // Add trim function to
 weed-out extra character values
                 $fieldsname = $fieldsname . implode(",' ',", $fieldlists);
                 $fieldsname = $fieldsname . "))"; // Add extra ) to end
 trim
                 $entityName = trim($entityName); // Trim the input to be
 consistent in comparison
 }
 ...
 }}}

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7414#comment:1>
vtiger development <http://trac.vtiger.com/>
vtiger CRM



More information about the vtigercrm-commits mailing list