How to fix dumpdata failures in Wagtail 7.3 by cleaning orphaned pages
Summary An upgrade from Wagtail 7.2.3 to 7.3.1 caused the manage.py dumpdata command to fail when attempting to export wagtailcore using the –natural-foreign and –natural-primary flags. The failure manifests as a DoesNotExist exception during the serialization process, specifically when the Django serializer attempts to resolve a relationship to a Page object that the database claims … Read more