wordpress-owncloud-integration icon indicating copy to clipboard operation
wordpress-owncloud-integration copied to clipboard

sync loop

Open hurradieweltgehtunter opened this issue 6 years ago • 0 comments

atm the sync sometimes gets into a file exchanging loop if the 2way sync is enabled. When adding a new file it triggers wp_insert_attachment which furthermore triggers the sync-to-owncloud process. The file inserted in Wordpress coming from OC gets re-inserted into OC so it's doubled. Luckily wordpress renames duplicate files so the loop gets interrupted. Need to investigate haw the hooks and actions can be triggered in an order to not get into this loop

hurradieweltgehtunter avatar Nov 21 '17 16:11 hurradieweltgehtunter