From 78425725c938bd867cf45c442a03e902d664be7e Mon Sep 17 00:00:00 2001 From: Andy Babic Date: Wed, 19 Jun 2019 15:17:12 +0100 Subject: [PATCH] Provide the original and copied pages to process_child_object() --- wagtail/core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wagtail/core/models.py b/wagtail/core/models.py index 44958cdb8..60ad867ef 100644 --- a/wagtail/core/models.py +++ b/wagtail/core/models.py @@ -1131,7 +1131,7 @@ class Page(AbstractPage, index.Indexed, ClusterableModel, metaclass=PageBase): setattr(child_object, parental_key_name, page_copy.id) if process_child_object is not None: - process_child_object(child_relation, child_object) + process_child_object(specific_self, page_copy, child_relation, child_object) child_object.save()