Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/core#563: Duplicate Case manager role fix #13188

Merged
merged 1 commit into from
Dec 5, 2018

Conversation

monishdeb
Copy link
Member

Overview

Steps to replicate:

  1. Create case
  2. Go to 'Manage case' and change case manager to someone else
  3. Change case manager back to original contact: error - duplicate relationship
  4. From the contact's relationship tab, enable a relationship
    -- note that the end date is preserved, which may mean that the newly re-enabled relationship is still considered inactive
    -- note that in the manage case roles panel the newly re-enabled relationship is not listed as the case manager
  5. From the manage case roles panel, add a new role with the same case manager type, to one of the existing contacts: error, duplicate relationship
    -- so if you change the case manager, there's currently no way to go back and set the original contact as case manager again

Before

after

After

screencast-12189-role

Comments

ping @colemanw @lcdservices

@civibot
Copy link

civibot bot commented Nov 30, 2018

(Standard links)

@civibot civibot bot added the master label Nov 30, 2018
@lcdservices
Copy link
Contributor

we've tested this PR and are already using in production.

@jitendrapurohit
Copy link
Contributor

Tested and confirmed that the PR fixes the issue of role assignment as mentioned in the description. +1 to get this merged into core @eileenmcnaughton

@monishdeb
Copy link
Member Author

Thanks @jitendrapurohit @lcdservices for your feedback.

@eileenmcnaughton or @seamuslee001 can you please merge this PR?

@seamuslee001
Copy link
Contributor

Merging as per Brian's and Jitendra's reviews.

@seamuslee001 seamuslee001 merged commit be10788 into civicrm:master Dec 5, 2018
@monishdeb monishdeb deleted the core-563 branch December 5, 2018 10:22
@monishdeb
Copy link
Member Author

Thanks @seamuslee001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants