Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-13257

Hard-coded relationship type for employer-employee relationship causing Current Employer checkbox to be hidden AND invalid sample data

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.5
    • Fix Version/s: 4.3.6
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      The Current Employer checkbox is not longer showing up on Add / Update Relationship form (at least in new sites) because it has an obsolete hard-coded ID value in Relationship.tpl. This regression was caused when the Partner of relationship type was added to meta data in 4.3 alpha 2.

      Current Employer also missing from relationship view (hard coded '4'), and CRM_Contact_BAO_Relationship:clearCurrentEmployer also broken.

      Sample data now has individuals related to organizations as 'Sibling' - due to same issue. The CONSTANTS in GenerateData.php are hard-coded and now incorrect for sites installed after 4.3 alpha 1.

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: