gnarhard / data-sync

Synchronizes all post data, custom ACF fields, and Yoast data across multiple, authenticated sites.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Post 526, All receivers: Server error encountered.

copperleaf opened this issue · comments

Describe the bug

I was trying to test the new functionality of receivers trying to say "no" to specific post types. I created Ducks4 and sent to all sites. That worked. I turned off ducks4 at receiver on receiver2 and multi2. Send an edited version of "quack quack" to all sites. the 2s refused as expected. I tried to send a new ducks4 to all sites, the 2s refused as expected BUT the 1s got duplicate copies of "duck!!"...

Then tried to send a regular post to receivers 1 and 2 but not to multi1 and multi2. I got a "all receivers failed to fetch" error. Tried again. That's when I got server error encountered. Checked receiver sites, duplicate posts on receiver 1 and receiver 2, no posts (as expected) on multi1 and mult2

Buggy Post
Link to existing post where this issue appeared: https://datasource.copperleaf.dev/wp-admin/post.php?post=526&action=edit

Link to existing post where this issue appeared: https://datasource.copperleaf.dev/wp-admin/post.php?post=525&action=edit

Which receiver?
All of them. Getting duplicates on receivers that accept the CPT in question, and errors at source when sending out posts that aren't accepted at all receivers (but the messages about receivers accepting or not at source sync is great).

Expected behavior
Only one copy of accepted post type at receiver, no errors at source