Details
-
Type: Sub-task
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Won't Do
-
Affects Version/s: HR-1.0
-
Fix Version/s: HR-1.0
-
Component/s: None
-
Labels:None
Description
When viewing the staff directory, the columns for "Email", "Phone", "Location", and "Department" appear as blank. Some notes:
1. This could be one issue (affecting all four columns), or it could be a few distinct issues.
2. We've recently added a new field civicrm_hrjob.department. Maybe we need some updates for that field to work? Regardless, that only explains "Department".
3. A common mistake for people to make when first using profiles with "Email" and "Phone" is to have mismatched location-types (e.g. the profile uses "Home" but the data only provides "Work"). After playing around with the location_type setting for the field, I don't think this is the problem. (But you might want to double-check.)
4. The problem seems to affect both the stand-alone staff directory and the "Search Results" screen (which uses the same profile).
5. On civihr-auto, I don't see warnings, but on my local workstation there are several warnings when viewing "civicrm/profile/view?reset=1&id=XX&gid=XX":
Notice: Undefined property: CRM_Core_DAO::$1-email in CRM_Core_BAO_UFGroup::getValues() (line 1202 of /Applications/MAMP/htdocs/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Undefined property: CRM_Core_DAO::$1-phone in CRM_Core_BAO_UFGroup::getValues() (line 1197 of /Applications/MAMP/htdocs/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Undefined property: CRM_Core_DAO::$1-phone in CRM_Core_BAO_UFGroup::getValues() (line 1199 of /Applications/MAMP/htdocs/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Undefined property: CRM_Core_DAO::$1-country in CRM_Core_BAO_UFGroup::getValues() (line 1176 of /Applications/MAMP/htdocs/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Undefined property: CRM_Core_DAO::$1-country_id in CRM_Core_BAO_UFGroup::getValues() (line 1178 of /Applications/MAMP/htdocs/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).