Open rvanlaar opened 3 months ago
It seems your page with ID 130 does not have any language content assigned to it. Can you check this for your v3 database? IntegrityError
should also be captured in djangocms_4_migration/management/commands/migration_cleanup.py
?
In v4 it's fine to have a Page
object without assigned PageContent
objects (formerly known as PageTitle
)
@rvanlaar I just saw #12 does fix the error.
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?
https://github.com/Aiky30/djangocms-4-migration/issues/17#issuecomment-2214594755
I'll try and find some time to add some test coverage to this package to give us some confidence when making any changes.
@Aiky30 I installed the PR #12 , and the issue is resolved.
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: