systopia / de.systopia.mutualaid

Fight Corona by organising mutual aid in your neighbourhood with this CiviCRM Extension!
Other
8 stars 3 forks source link

If a record is both offering and requesting help it creates an error in Match Now #16

Closed vingle closed 4 years ago

vingle commented 4 years ago

Testing on 35 records - a couple were both offering and requesting and running Match Now created the error:

"CiviCRM_API3_Exception: "Matching failed: Duplicate Relationship".

If the only new records are coming through the forms then this probably isn't an issue as there's no way to create both a request and an offer together in the same record (only via import or adminastrator config).

But am guessing longer term there may be scenarios where the same person is both offering and requesting things.

bjendres commented 4 years ago

duplicate of #18