Relationship not updated on delete
-
Hello,
I’m finding that when I add a post that contains a bidirectional relation, your plugin does properly add the post to the other relationship cpt field. But when I delete a post (within the WP dashboard), that post is not removed from the other relationship. In my case I’m using Toolbox and the Timber Posts module still shows posts from the relationship field, which are actually deleted.
If I go into the WP dashboard and edit the particular record containing the other relationship and just click Update, the post no longer shows in the Timber Posts. It seems during the update process the relationship field is updated with only published posts.
So it seems as if this statement in your documentation: “If a post is removed from a relationship then the post being removed will also be updated to remove the relationship to the post being edited.” is not working for some reason.
Using ACF 5.8.9 and 1.5.2 of your plugin if that makes any difference.
Thanks for any assistance!
- The topic ‘Relationship not updated on delete’ is closed to new replies.