? Pending

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
11 Apr 2020

Pull Request for Issue #28614 .

Summary of Changes

Defers loading of the menu items until we actually need the information on the menu items. In certain cases this will mean that

Testing Instructions

  1. Ensure menus load in the frontend on a normal single language site
  2. Ensure menus load in the frontend on a multilanguage site
  3. Ensure menus load in the backend
  4. Update Joomla from 3.10 (multilanguage site) using the PR custom update site to this branch. It should now work after this patch.

Documentation Changes Required

Yes. Document menu items are being loaded later. This will only be relevant however for custom menus extending Joomla\CMS\Menu\AbstractMenu so should be an edge case.

avatar wilsonge wilsonge - open - 11 Apr 2020
avatar wilsonge wilsonge - change - 11 Apr 2020
Status New Pending
avatar wilsonge wilsonge - change - 11 Apr 2020
Title
Defer loading of menu items until required
[4.0] Defer loading of menu items until required
avatar wilsonge wilsonge - edited - 11 Apr 2020
avatar joomla-cms-bot joomla-cms-bot - change - 11 Apr 2020
Category Libraries
avatar alikon
alikon - comment - 11 Apr 2020

I have tested this item successfully on f971e00

with mysql 8.0.19 and postgresql


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

avatar alikon alikon - test_item - 11 Apr 2020 - Tested successfully
avatar alikon
alikon - comment - 11 Apr 2020

btw it seems that we have still an issue with PDO cause have worked even before this pr
so we still have soemething to fix on the PDO drivers

avatar Razzo1987
Razzo1987 - comment - 11 Apr 2020

I have tested this item successfully on f971e00

Tested on:

dbtype mysqli

Database Type mysql
Database Version 10.1.43-MariaDB
Database Collation utf8_general_ci
Database Connection Collation utf8mb4_general_ci
Database Connection Encryption None
Database Server Supports Connection Encryption No
PHP Version 7.3.12
Web Server Apache
WebServer to PHP Interface fpm-fcgi


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

avatar Razzo1987 Razzo1987 - test_item - 11 Apr 2020 - Tested successfully
avatar alikon alikon - change - 11 Apr 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 11 Apr 2020

RTC


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

avatar infograf768
infograf768 - comment - 11 Apr 2020

I have tested this item successfully on f971e00

Solves isssue for sqli as well as sql(PDO)


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

avatar infograf768 infograf768 - test_item - 11 Apr 2020 - Tested successfully
avatar richard67
richard67 - comment - 11 Apr 2020

@wilsonge Please wait a bit with merging, am just starting with tests ... even if it has already 2 good tests. But we should be very careful here.

avatar richard67
richard67 - comment - 11 Apr 2020

That's one of the PR's (update tests) where I am really happy about the update packages built by drone for this PR. In pasz I had to build them myself "manually".

avatar richard67
richard67 - comment - 11 Apr 2020

I have tested this item successfully on f971e00


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

avatar richard67 richard67 - test_item - 11 Apr 2020 - Tested successfully
avatar wilsonge wilsonge - change - 11 Apr 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-04-11 09:19:38
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 11 Apr 2020
avatar wilsonge wilsonge - merge - 11 Apr 2020
avatar wilsonge
wilsonge - comment - 11 Apr 2020

Thankyou guys!

avatar richard67
richard67 - comment - 11 Apr 2020

Thank you guy 😛

avatar infograf768
infograf768 - comment - 11 Apr 2020

drone and appveyor both failing.
hard to figure what's going on...

avatar richard67
richard67 - comment - 11 Apr 2020

Appveyor is a known issue ... Hannes is on it.
Drone seems to be the regular randomly happening timeout. We will see.

avatar SharkyKZ
SharkyKZ - comment - 11 Apr 2020

Please test #28647 for timeout issue.

Add a Comment

Login with GitHub to post a comment