Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Site Copy) fixes #29938 : Many-to-One Relationship Not Maintained When Contentlet is Copied to New Site #30161

Conversation

jcastro-dotcms
Copy link
Contributor

@jcastro-dotcms jcastro-dotcms commented Sep 26, 2024

Proposed Changes

  • Many-to-One relationships were not being copied correctly when the parent Contentlet lived in a Site different than any of the ones involved in the Site Copy operation. That is, when the parent Contentlet lived under System Host or a Site that is neither the source nor the destination Site.
  • This is a variation of the previous issue reported earlier:
  • This code change fixes both scenarios.

This PR fixes: #29938

@dsilvam
Copy link
Contributor

dsilvam commented Sep 26, 2024

Leaving the test for a second PR

@jcastro-dotcms jcastro-dotcms added this pull request to the merge queue Sep 26, 2024
Merged via the queue into master with commit 81d923d Sep 26, 2024
12 checks passed
@jcastro-dotcms jcastro-dotcms deleted the issue-29938-Many-to-One-Relationship-Not-Maintained-When-Copied-to-New-Host branch September 26, 2024 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Many to One Relationship Not Maintained When Copied to New Host
3 participants