Rule works inverted when editing address "in-page"
Goal of my rule: send an e-mail to a contact when the "is valid" custom field on its address is set to 0 (invalid).
This works inverted when you click on the address on the contact page and only edit and save the address. This works as expected when you do contact > edit > change address > click save (for the entire contact).
Peeking in the code in FieldValueComparision.php it seems that the triggerdata is then getting another class then expected.
Possible work-a-rounds:
- Telling my colleague (5+ times) not to use the in-page option does not work either. She keeps forgetting this.
- How can I disable the in-page editing option for addresses?
Versions:
- rules: 2.47
- civi: 5.61.1
- drupal: 9.5.9