Skip to content

Child pages are not populated for sub menu and has_children_in_menu is False #426

@naitsok

Description

@naitsok

Hello,
I'm trying to use Wagtailmenus in my project and have an issue. When rendering the menu only top level menu items are available, the ones that were manually created in the Main menu settings in Wagtail admin. But the children pages of the top level page are not populated in the top level menu item, and the item.has_children_in_menu is False.
Here is my setup:
Django 4.0.5; Wagtail 3.0.1; Wagtailmenus 3.1.2.
I use MenuPageMixin class when creating my Page objects. The "Show in menus" is true for all the pages in the page tree. All mirations seem to be applied.
What can be wrong? Am I doing something incorrectly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions