Many to One Relationship Not Maintained When Copied to New Host
Parent Issue
https://github.com/dotCMS/core/issues/29256
Problem Statement
When parent and child content exists on another host, a Many to One Relationship is not being maintained when a site is copied to another host.
This is currently impacting a customer and seems to be an outlier as this does not appear to be an issue with other cardinalities.
Steps to Reproduce
To test in the demo site, copy the demo site.
-
Create the many to one relationship field on a content type.
-
Then create a content item with the parent on Site A and the child (related content, in this case the Activity pictured below) on Site B.
-
Use the site copy tool, copying Site A with all objects checked. When reviewing this new copied site and looking at parent content item that was copied, you will see the relationship is no longer present.
Acceptance Criteria
When parent and child content exists on another host, a Many to One Relationship should be maintained when a site is copied to another host.
dotCMS Version
latest current release, demo, all lts versions
Proposed Objective
Customer Success
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
https://dotcms.slack.com/archives/C035XMEDQ4F/p1725904713408219 Generated from a customer request.
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
Passed Internal QA.
Followed the steps in the description using the same Content Types and after copying the original demo site, the copied version included the Banner Carousel contentlet with the related Activity.
Approved: Tested on ** trunk_62799e6**, Docker, macOS 14.5, FF v126.0.1