jazzband / wagtailmenus

An app to help you manage and render menus in your Wagtail projects more effectively
MIT License
398 stars 138 forks source link

Wagtail 5.2.x Warnings #475

Closed sowinski closed 8 months ago

sowinski commented 8 months ago

Hi,

I updated from Wagtail 4.1 LTS to 5.2 LTS and get this warning now:

WARNINGS:
wagtailmenus.FlatMenu: (wagtailadmin.W002) FlatMenu.content_panels will have no effect on modeladmin editing
    HINT: Ensure that FlatMenu uses `panels` instead of `content_panels`or set up an `edit_handler` if you want a tabbed editing interface.
There are no default tabs on non-Page models so there will be no Content tab for the content_panels to render in.
wagtailmenus.FlatMenu: (wagtailadmin.W002) FlatMenu.settings_panels will have no effect on modeladmin editing
    HINT: Ensure that FlatMenu uses `panels` instead of `settings_panels`or set up an `edit_handler` if you want a tabbed editing interface.
There are no default tabs on non-Page models so there will be no Settings tab for the settings_panels to render in.
wagtailmenus.MainMenu: (wagtailadmin.W002) MainMenu.content_panels will have no effect on modeladmin editing
    HINT: Ensure that MainMenu uses `panels` instead of `content_panels`or set up an `edit_handler` if you want a tabbed editing interface.
There are no default tabs on non-Page models so there will be no Content tab for the content_panels to render in.
wagtailmenus.MainMenu: (wagtailadmin.W002) MainMenu.settings_panels will have no effect on modeladmin editing
    HINT: Ensure that MainMenu uses `panels` instead of `settings_panels`or set up an `edit_handler` if you want a tabbed editing interface.
There are no default tabs on non-Page models so there will be no Settings tab for the settings_panels to render in.

Is wagtailmenus currently not supported on Wagtail version 5.2.x?

Ash-Crow commented 8 months ago

I have the same warnings on Wagtail 6.0.

MrCordeiro commented 8 months ago

Hey @sowinski ,

We were following this issue on https://github.com/jazzband/wagtailmenus/issues/464. We currently don't have a good fix for this (sorry). We are trying to raise this issue with the Wagtail team as we don't believe this warning is valid. Check out some workarounds here: https://github.com/jazzband/wagtailmenus/issues/464#issuecomment-1839097355

As for now, I'm closing this issue as it's a duplicate. Feel free to reopen https://github.com/jazzband/wagtailmenus/issues/464 if you have any updates.

Cheers!