-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] Creating a new admin menu leads of php notices #29810
Comments
(4.0-dev) |
This comment was marked as abuse.
This comment was marked as abuse.
If I do not select a preset, I do not get your errors. |
This comment was marked as abuse.
This comment was marked as abuse.
There are other problems concerning admin menu creation: if one uses a preset (joomla or alternate) when creating the menu (and then that menu in the module instead of a preset), then if you need to delete some menu items through the menu items interface it takes ages to TRASH the menu items in that menu as we get into a loop (also problems with actionlogs...) Remark that editing the menu itself does not display anymore the preset used. It is confusing. |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, confused about this
as it comes after
as we are in a modal But if I ignore this I do indeed get all these Notices from the module in the menu position because the Menu has no menu items (no presets were chosen when creating the Menu and same when creating the module) and I guess the solution would be to throw an error somewhere. We just have to find where. |
btw, I confirm
|
This bug is caused by #23452 which probably should not have been merged due to lack of tests |
Steps to reproduce the issue
Login to Joomla 4 admin as super admin
Menus -> Manage -> Select Administrator from dropdown
Click New - Set title =
asfjkdhcksjdfyb
- set unique nameasfjkdhcksjdfyb
-> click save and closeClick "Add a module for this menu" button
Give module a title - select position = menu [menu] click save and close
(The first time there was a link about "menu recovery mode" that I clicked, the second time this never showed)
Expected result
No PHP Notices
Only ONE of the default menus
Actual result
And if I scroll down I see another default set of the menu system with "menu recovery" hide/show link
System information (as much as possible)
Joomla 4 beta 1
The text was updated successfully, but these errors were encountered: