systopia / de.systopia.xcm

CiviCRM Extended Contact Matcher
Other
5 stars 11 forks source link

Error on non-existing elements when deleting activities #15

Closed ErikHommel closed 6 years ago

ErikHommel commented 7 years ago

When I try to delete an activity from the contact summary I get the error:

5 /var/www/html/aivldev/sites/all/modules/civicrm/packages/HTML/QuickForm.php(791): PEAR->raiseError(NULL, -3, NULL, 512, "Element 'status_id' does not exist in HTML_QuickForm::getElement()", "HTML_QuickForm_Error", TRUE)

I did include the try/catch block that was put around the getElements in a later version, but that does not fix the issue.

bjendres commented 7 years ago

@ErikHommel: I would assume it's the "diff helper" which is marked as 'beta'. Does the problem persist if you turn it off (xcm configuration)?

ErikHommel commented 7 years ago

Could well be - but I did a PR with a fix too :-)

bjendres commented 7 years ago

I've seen it, just wanted to verify that the diff helper was the cause

ErikHommel commented 7 years ago

I do not remember exactly but I can try to switch off my fix and then see if the problem persists.

ErikHommel commented 7 years ago

Yes, the cause is the diff helper. No problems if I switch it off.