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
Solve foreign key error on push transfers #19870
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, LGTM, haven't QAd yet though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks greattt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, QA worked!
What does it do?
It solves the foreign key error on push transfers by fixing the way we are getting the component UIDs when mapping the old IDs and the new IDs.
Why is it needed?
To avoid FK Constraint errors on transfers.
How to test it?
Create a content type with a component and a repeatable component, both containing relation to another content type inside. Fill them with data and execute an export/import and/or a transfer. It should work without displaying any warning about a foreign key constraint.
Related issue(s)/PR(s)
#18350