Uploaded image for project: 'CiviHR'
  1. CiviHR
  2. HR-28 CiviHR - App UI - Staff Directory
  3. HR-109

hrstaffdir: Email, phone, location, and department appear blank

    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).

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h