bug Small PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
8 Sep 2024

Summary of Changes

Fix duplicated DB queries for non-existing asset.

Testing Instructions

Enable debug and debug Query in the debug plugin.
Login in administrator section as manager.
Open Articles list table.
Check amount of DB queries in debug panel.

Or run folowing code, in templates/atum/index.php.

for ($i = 0; $i < 100; $i++) {
    $app->getIdentity()->authorise('core.edit', 'com_content.category.1');
}

Actual result BEFORE applying this Pull Request

Around 55.

With testing code it is around 155;

Expected result AFTER applying this Pull Request

Around 45

With testing code it is around 45;

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:
  • No documentation changes for docs.joomla.org needed
  • Pull Request link for manual.joomla.org:
  • No documentation changes for manual.joomla.org needed
avatar Fedik Fedik - open - 8 Sep 2024
avatar Fedik Fedik - change - 8 Sep 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Sep 2024
Category Libraries
avatar Fedik Fedik - change - 8 Sep 2024
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2024-09-08 09:18:25
Closed_By Fedik
Labels Added: bug Small PR-5.2-dev
avatar Fedik Fedik - close - 8 Sep 2024

Add a Comment

Login with GitHub to post a comment