Uploaded image for project: 'CiviHR'
  1. CiviHR
  2. HR-173

hrreport: Gender-related errors

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Won't Do
    • Affects Version/s: HR-1.0
    • Fix Version/s: HR-1.0
    • Component/s: Reporting
    • Labels:
      None

      Description

      It appears that reporting on gender is now broken in HRSummary. There are a few symptom of this:

      1. When creating/editing a report based on HRSummary, the CRM_Report_Form::addGroupBys produces a warning when processing the gender field: "Notice: Undefined index: title in CRM_Report_Form->addGroupBys() (line 899 of /Applications/MAMP/htdocs/sites/all/modules/civicrm/CRM/Report/Form.php)."

      2. When creating/editing a report based on HRSummary, the "Gender" option (under "Personal Details") appears without a label.

      3. Following a change around Sep 28, the test cases for HRSummary started failing. There were changes in the way core handles gender and pseudoconstants. https://test.civicrm.org/job/CiviHR-master-git/LABEL=test-ubu1204-1,XSUITE=hrreport%25CRM_AllTests/288/

      To address this issue, we should ensure that the tests are passing and that the UI shows gender.

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1 hour, 20 minutes
                1h 20m