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

If you try to assign a Case Role for a Relationship Type which does not match the Contact Types, it fails siilently

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.27
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No
    • Overview:
      Case Role fails silently due to a mismatch between the Contact Type of the contacts, and the Contact Type of the relationship
    • How it works currently:
      Fails silently
    • How it should work:
      Provides a notice to user eg This Role cannot be assigned due to the Contact Types not matching those specified for this Relationship Type
    • Acceptance Criteria:
      When user repeats process per the YouTube a notification is visible.

      Description

      This is a ticket in response to this issue https://civicrm.stackexchange.com/questions/9147/cannot-assign-multiple-roles-to-case which is best explained by watching https://www.youtube.com/watch?v=Cr4CIGwKg7U&feature=youtu.be where you can see the 'assign case role' fails silently because the user is trying to add a relationship of Benefits Specialist (which is an Individual to Individual type relationship) when the Case Contact - Adams Family - is a Household. 

      Hence the Relationship won't 'create' but the user gets no indication of why the Role is not assigned.

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              peted Peter Davis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: