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

HRJob settings apply inconsistently

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: HR-1.2
    • Fix Version/s: HR-1.2
    • Component/s: Jobs
    • Labels:
      None
    • Sprint:
      Sprint 12d

      Description

      When installing CiviHR, the new settings (eg "work_hours_per_year") sometimes load properly – and sometimes don't.

      Installation script – https://github.com/civicrm/civihr/blob/master/bin/drush-install.sh
      PR which declares/uses settings – https://github.com/civicrm/civihr/pull/397
      Settings declaration – https://github.com/totten/civihr/blob/master-HR-216/hrjob/settings/HRJob.setting.php

      Specifically

      • Calling "drush-install.sh" produces working settings (eg "drush cvapi setting.get return=work_hours_per_year" produces the correct default value)
      • Calling "drush-install.sh --with-sample-data" produces no settings (eg "Drush cvapi setting.get return=work_hours_per_year" produces empty result)

        Attachments

          Activity

            People

            • Assignee:
              nishant.bhorodia Nishant Bhorodia
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: