Wagtail 5.2.x Warnings
sowinski opened this issue · comments
sowinski commented
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?
Sylvain Boissel commented
I have the same warnings on Wagtail 6.0.
Fernando commented
Hey @sowinski ,
We were following this issue on #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: #464 (comment)
As for now, I'm closing this issue as it's a duplicate. Feel free to reopen #464 if you have any updates.
Cheers!