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

"Duplicate Relationship" error #26

Open
christianwach opened this issue Feb 21, 2020 · 1 comment
Open

"Duplicate Relationship" error #26

christianwach opened this issue Feb 21, 2020 · 1 comment

Comments

@christianwach
Copy link

Steps to reproduce:

  • Create a Relationship
  • Remove the Relationship
  • Try and reinstate the same Relationship

I get "Network Error. Unable to reach the server. Please refresh this page in your browser and try again." I traced this back to an invalid JSON response - it's actually a CiviCRM error page that says that I'm trying to create a "Duplicate Relationship".

I presume this is because the Relationship does exist, it's just is_active = 0.

@colemanw
Copy link
Collaborator

This may be an error that reproduces in a typical testing scenario but not in a typical real-world situation. IIRC the "duplicate" error only comes up if the original and new relationships have the same start date. That's pretty rare for real-world use, but common if you're quickly testing out the site by creating and deleting relationships in quick succession.

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

No branches or pull requests

2 participants