Answers.Body: <p>Check the name_a_b and/or name_b_a fields in the database table civicrm_relationship_type. Check that they match the <code>&lt;name&gt;</code> entries in the <code>&lt;CaseRoles&gt;</code> section in the xml files in <code>&lt;path_to_civicrm&gt;/templates/CRM/Case/xml/configuration</code>. Depending on your version or upgrade history the xml definition might be in the civicrm_case_type table in the definition field.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-21T14:36:15.030Z
Answers.Text: Thank you Demerit, that got me to the info I wanted.
  
  The xml definition is in the civicrm_case_type table. As a hyperlink. I can view the definition from there (opening in notepad).
  
  The settings in there  tally with the settings from
  Admin>CiviCase>Casetypes edit settings
  <CaseRoles> Includes all the relationship types I'd expect.
  The one I want is marked as manager
  Relationship names/ labels correspond to relationship table.
  
  But on the case dashboard the wrong relationship type is still being picked up as case manager. Will post up a new question.
Answers.UserDisplayName: Craig Almond
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-21T14:52:03.850Z
Answers.Text: Not posting a new question. This post suggested itself as I was posting
  
  https://civicrm.stackexchange.com/questions/18652/case-manager-not-updating-correctly-civicrm-4-7-21
  
  Dashboard does not update to reflect changes in case manager settings once cases of case type created.
  
  xmlprocessor php file needs amending
  
  situation still there in 5.3.1
Answers.UserDisplayName: Craig Almond
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-21T13:35:57.540Z
Answers.LastActivityDate: 2018-08-21T13:43:36.200Z
Answers.LastEditDate: 2018-08-21T13:43:36.200Z
Answers.UserDisplayName: Demerit
Body: <p>I was updating a site adding new relationships for cases, and relabelling old relationships to make more sense in case context.</p>
  
  <p>What I've since found is that the updates to the relationship table don't automatically feed thru to the case relationships/ settings.</p>
  
  <p>Fast forward a couple of months and it turns out that the case manager is no longer showing in the case dashboard.</p>
  
  <p>I've either changed the designated case manager relationship, or relabelled the relationship and it is not being picked up by the dashboard.</p>
  
  <p>Can anyone point me to where I'd find the case type setting file in the backend so i can start diagnosing what I've relabelled and what relationship the case expects to see as manager?</p>
  
Tags: <civicase><relationships><dashboard>
Title: Amending relationship types has broken civi case
ThreadText: # Amending relationship types has broken civi case
  
  (Asked by: username_0 on 2018-08-21)
  
  I was updating a site adding new relationships for cases, and relabelling old relationships to make more sense in case context.
  
  What I've since found is that the updates to the relationship table don't automatically feed thru to the case relationships/ settings.
  
  Fast forward a couple of months and it turns out that the case manager is no longer showing in the case dashboard.
  
  I've either changed the designated case manager relationship, or relabelled the relationship and it is not being picked up by the dashboard.
  
  Can anyone point me to where I'd find the case type setting file in the backend so i can start diagnosing what I've relabelled and what relationship the case expects to see as manager?
  
  **Tags:** civicase, relationships, dashboard
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-08-21. Score: 1 | Accepted answer
  
  Check the name\_a\_b and/or name\_b\_a fields in the database table civicrm\_relationship\_type. Check that they match the `<name>` entries in the `<CaseRoles>` section in the xml files in `<path_to_civicrm>/templates/CRM/Case/xml/configuration`. Depending on your version or upgrade history the xml definition might be in the civicrm\_case\_type table in the definition field.
  
  > **Comments:**
  > **username_0**: Thank you username_1, that got me to the info I wanted.  The xml definition is in the civicrm_case_type table. As a hyperlink. I can view the definition from there (opening in notepad).  The settings in there  tally with the settings from Admin>CiviCase>Casetypes edit settings <CaseRoles> Includes all the relationship types I'd expect. The one I want is marked as manager Relationship names/ labels correspond to relationship table.  But on the case dashboard the wrong relationship type is still being picked up as case manager. Will post up a new question.  
  > **username_0**: Not posting a new question. This post suggested itself as I was posting  https://civicrm.stackexchange.com/questions/18652/case-manager-not-updating-correctly-civicrm-4-7-21  Dashboard does not update to reflect changes in case manager settings once cases of case type created.  xmlprocessor php file needs amending  situation still there in 5.3.1  
  
  ---
  
  