-
Notifications
You must be signed in to change notification settings - Fork 16
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
django.db.utils.IntegrityError: update or delete on table "cms_page" violates foreign key constraint #17
Comments
It seems your page with ID 130 does not have any language content assigned to it. Can you check this for your v3 database? |
In v4 it's fine to have a |
Much appreciated. I'll try that PR. |
Please let us know if it helped! |
@rvanlaar Did that PR fix your issue, we need others to have tried and tested changes due to the lack of test coverage by the package. |
I haven't had the opportunity to check it. I'll report back when I have. Might be next sprint. |
@rvanlaar Have you had chance to test out Fabians recommendation yet? |
I'll try and find some time to add some test coverage to this package to give us some confidence when making any changes. |
When running the migration:
manage.py cms4_migration
all goes well till I'm hit withHow can we resolve this?
Important versions:
Python 3.9.19
psycopg 3.1.19
django 4.2.13
djangocms-4-migration 0.0.2 51a3a7b
djangocms-admin-style 3.3.1
djangocms-alias 2.0.1
djangocms-attributes-field 3.0.0
djangocms-file 3.0.1
djangocms-link 3.1.1
djangocms-picture 4.1.1
djangocms-text-ckeditor 5.1.5
djangocms-versioning 2.0.2
The log, including traceback:
The text was updated successfully, but these errors were encountered: