Could we have more Rules events for work with Relations?

I miss:

  1. Update existing relation (with old and new relation variables)
  2. Delete relation
CommentFileSizeAuthor
#1 1762794.patch1.62 KBzkday

Comments

zkday’s picture

Status: Active » Needs review
StatusFileSize
new1.62 KB

In my project, i have a features match with you.
This is patch.

steveoliver’s picture

Status: Needs review » Closed (fixed)

Good call. Thanks, zkday and Bobík. Committed to 7.x a380328.

honza pobořil’s picture

Status: Closed (fixed) » Active

Thanks for delete event, but I still missing update event.

steveoliver’s picture

Bobik: Have you tried the latest 7.x-dev? Update event works for me. You should have Update, Insert, Delete.

honza pobořil’s picture

Status: Active » Fixed

Aha, I've just checked the patch, not repository.

steveoliver’s picture

Status: Fixed » Closed (fixed)
acrazyanimal’s picture

For those looking for the "unchanged relation" parameter to be added to the "After updating a relation" event you can find a patch here: #1807770: Add unchanged relation to relation_update Rules event.