? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
25 Jul 2021

Pull Request for Issue # .

Summary of Changes

The getParams method in SiteApplication class https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/Application/SiteApplication.php#L284 return component parameters after merging it with active menu item parameters (the menu item parameters take higher priority). However, it does not check and make sure the menu item is linked to current component before merging, and this PR just adds that missing check.

Testing Instructions

This need code review from developers understand how parameters is handle in Joomla!

avatar joomdonation joomdonation - open - 25 Jul 2021
avatar joomdonation joomdonation - change - 25 Jul 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Jul 2021
Category Libraries
avatar winniecarole
winniecarole - comment - 17 Aug 2021

The improvement is okay but it doesn't decrease the code length.
image

avatar chmst chmst - change - 31 Jan 2022
Labels Added: ?
avatar joomdonation joomdonation - change - 20 Jun 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-06-20 03:10:52
Closed_By joomdonation
Labels Added: ?
Removed: ?
avatar joomdonation joomdonation - close - 20 Jun 2022

Add a Comment

Login with GitHub to post a comment