Managed child pages cannot edit their parent page (page picker shows no pages)

Description

In the parent page type object:

In the child page type object:

When dumping getPageType( "listing_page" ) in PageTypesService.cfc in Preside core, it says none, however I can see ManagedChildTypes: "detail_page";

I found that it is caused by the _calculateManagedPageTypes method in PageTypesService. When the loop reaches child page type’s turn, it deletes the allowed child type from the parent then tries to add it back again. Removing the line below will solve the issue:

parentAllowed.delete( pageType.getId() );

Anyone able to confirm that the above is the fix?

Environment

Affects preside version 10.10 and above

Assignee

Unassigned

Reporter

Kok Ann Ng

Labels

None

Accepted

Yes

Fix versions

Priority

Medium
Configure