[Vtigercrm-commits] [Vtiger development] #8123: Wrong related to link and popup in calendar task list

Vtiger development vtiger-tickets at trac.vtiger.com
Wed Jul 2 19:00:37 GMT 2014


#8123: Wrong related to link and popup in calendar task list
------------------------+---------------------------------------
 Reporter:  jason       |      Owner:  developer
     Type:  defect      |     Status:  new
 Priority:  unassigned  |  Milestone:  6.1.0
Component:  vtigercrm   |    Version:  6.0.0
 Severity:  Medium      |   Keywords:  related to link, calendar
------------------------+---------------------------------------
 The link and the popup "Related to" on the task list in agenda does not
 always point to the good entity.

 We can fix this problem like this :

 vtigercrm/include/ListView/ListViewController.php

 86                      $nameList = getOwnerNameList($idList);
 87              } else {
 88                      //TODO handle multiple module names overriding
 each other.

 ''89-                   $nameList = getEntityName($module, $idList);''
 '''89+                  $nameList = getEntityName($module, $idList,
 true);'''

 90              }
 91      } else {
 92              $nameList = vtws_getActorEntityName($module, $idList);
 93      }
 94      $entityTypeList = array_intersect(array_keys($nameList), $idList);

 ''95-   foreach ($entityTypeList as $id) {
 96-             $this->typeList[$id] = $module;
 97-     }
 ''
 98      if(empty($this->nameList[$fieldName])) {
 99              $this->nameList[$fieldName] = array();
 100     }

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8123>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list