? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
29 Jun 2020

Fixes #29829.

Summary of Changes

Makes "Exit Recovery Mode" link clickable.

Testing Instructions

Menus -> Manager -> Select Administrator -> Click New =>
Title = MyBrokenMenu
Unique Name = MyBrokenMenu
Import a preset = none
Click Save and close
Click "Add a module for this menu"
Select MyBrokenMenu under Administrator in the left menu
Title = MyBrokenMenuModule
Menu to show = MyBrokenMenu
CheckMenu = yes
Position = Menu [menu]
Click save & close

Enable Menu Recovery Mode

Actual result BEFORE applying this Pull Request

No href on the a tag for Exit Recovery mode and is unclickable.

Expected result AFTER applying this Pull Request

Exit Recovery mode is a hyperlink that is clickable in the menu

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 29 Jun 2020
avatar SharkyKZ SharkyKZ - change - 29 Jun 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Jun 2020
Category Modules Administration
avatar ceford ceford - test_item - 29 Jun 2020 - Tested unsuccessfully
avatar ceford
ceford - comment - 29 Jun 2020

I have tested this item ? unsuccessfully on e8ab80d

Are the instructions correct? On first pass without patch I got as far as Click "Add a module for this menu". That brough up a modal box so Select MyBrokenMenu under Administrator in the left menu did not make sense. Carrying on to Save and Close, after close there was a warning message with a link to Enable Menu Recovery Mode. After that - where is Enable Menu Recovery Mode. Start again - never saw that first warning message again. Where is Exit Recovery Mode? Applied patch - same - no sign of Exit Recovery Mode link. I don't see anything in the menus.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29833.

avatar SharkyKZ
SharkyKZ - comment - 30 Jun 2020

@ceford . I think you can skip the Select MyBrokenMenu under Administrator in the left menu step. Just create an empty administrator menu and add a module in Menu position. Then enter recovery mode.

avatar brianteeman brianteeman - test_item - 3 Jul 2020 - Tested successfully
avatar brianteeman
brianteeman - comment - 3 Jul 2020

I have tested this item successfully on e8ab80d

obvious error in the field name - thanks


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29833.

avatar toivo toivo - test_item - 5 Jul 2020 - Tested successfully
avatar toivo
toivo - comment - 5 Jul 2020

I have tested this item successfully on e8ab80d

Tested successfully in Beta3-dev of 5 July.

Environment Windows 10 Wampserver 3.2.2 Apache 2.4.43 MySQL 8.0.20 PHP 7.4.7

Had to change Error Reporting to 'Simple' because of numerous notices but exit from the Recovery Mode worked all right:

Notice: Undefined property: Joomla\CMS\Menu\AdministratorMenuItem::$element in C:\www\joomla4\administrator\modules\mod_menu\src\Menu\CssMenu.php on line 313
Notice: Undefined property: Joomla\CMS\Menu\AdministratorMenuItem::$element in C:\www\joomla4\administrator\modules\mod_menu\src\Menu\CssMenu.php on line 327
Notice: Undefined property: Joomla\CMS\Menu\AdministratorMenuItem::$class in C:\www\joomla4\administrator\modules\mod_menu\src\Menu\CssMenu.php on line 513
Notice: Undefined property: Joomla\CMS\Menu\AdministratorMenuItem::$ajaxbadge in C:\www\joomla4\administrator\modules\mod_menu\tmpl\default_submenu.php on line 99
Notice: Undefined property: Joomla\CMS\Menu\AdministratorMenuItem::$dashboard in C:\www\joomla4\administrator\modules\mod_menu\tmpl\default_submenu.php on line 173


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29833.
avatar bonzani bonzani - test_item - 5 Jul 2020 - Tested successfully
avatar bonzani
bonzani - comment - 5 Jul 2020

I have tested this item successfully on e8ab80d


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29833.

avatar zero-24 zero-24 - change - 5 Jul 2020
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-07-05 13:41:36
Closed_By zero-24
Labels Added: ?
avatar zero-24 zero-24 - close - 5 Jul 2020
avatar zero-24 zero-24 - merge - 5 Jul 2020
avatar zero-24
zero-24 - comment - 5 Jul 2020

Merged thanks

Add a Comment

Login with GitHub to post a comment