vt7 dev release change in include/events/VTEntityData.inc assumes only one or two entityname fields...
We often use three... IMHO this sort of code should not make an assumption like this (This is just like the assumption that the User module will always be firstname+lastname):
// added to compute label needed in event handlers
//TODO : need to make sure entity fields are cached
$entityFields = Vtiger_Functions::getEntityModuleInfo($crmEntity->moduleName);
if (!empty($entityFields['fieldname'])) {
$entityFieldNames = explode(',', $entityFields['fieldname']);
if (count($entityFieldNames) > 1) {
$obj->focus->column_fields['label'] = $crmEntity->column_fields[$entityFieldNames[0]].' '.$crmEntity->column_fields[$entityFieldNames[1]];
} else {
$obj->focus->column_fields['label'] = $crmEntity->column_fields[$entityFieldNames[0]];
}
}