Skip Navigation

[Resolved] Post Associated Relationships Break on Clone or Reschedule

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 3 replies, has 2 voices.

Last updated by webadmins 6 years, 2 months ago.

Author
Posts
#1130788

I am trying to: Reschedule a Post or Clone a Post that uses Associated Posts

Link to a page where the issue can be seen: Internal. The issues happens on all instances however we can only duplicate this issue on localhost as to not corrupt the test and production environments.

I expected to see: I expect to see that the associated posts stay when I reschedule or clone a post.

Instead, I got: On reschedule, all associated posts are deleted.

#1131068

Clone a Post is not something that WordPress does natively, and setting up relationships requires several actions fired, such as save_post(), which in turn fires several Toolset actions who store the right data for each post, relation and related data.
These are as well proprietary to Toolset if it comes to relationships since we use Custom Tables to store some of its data.

Scheduled Posts cannot be connected to other posts, I just reported that yesterday.
It means you will get errors if scheduled posts are connected - it won't work.

What I need to know is:
- how exactly are posts "cloned" (it won't work with relationships anyway, but maybe you can re-hook our code to make it work)
- what do you mean with "reschedule"? The WordPress native "schedule posts" feature?
Then, that is broken and won't work currently, however we are working on that issue.

#1132035

Hi Beda, yes it is being cloned by a third party tool so I understand why the associations dont transfer over. And yes we are using the WordPress native "schedule posts" feature an the associations aren't caring over, I understand now that this is a bug and you are working the issue.

#1132045

My question is answered now. Thank you!