civicrm / org.civicrm.civicase

CiviCase Extension
Other
9 stars 35 forks source link

Expected one RelationshipType but found 17 error when editing rule #133

Closed amyers735 closed 4 years ago

amyers735 commented 4 years ago

Hi,

I've tried to create a rule that uses the following:

Trigger: Contact is added to Group Condition: Group is XYZ

Action: Add relationship

Then when I pick my relationship type and a contact I get taken to a yellow page that says:

Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
Expected one RelationshipType but found 17

I get the same error if I go back to edit it. I'm not sure whether this is something I've done wrong or not. How can I debug this?

I'm on CiviCRM 5.23.3 with CiviRules 2.14 on Wordpress 5.4

amyers735 commented 4 years ago

This was in a staging environment I was using. After I refreshed the database and tried again, it worked so I'm going to close this off. I'm not sure of the cause but it seems to have been "environmental".