? Success

User tests: Successful: Unsuccessful:

avatar prasoon2211
prasoon2211
7 Feb 2015

The $this->totalQueries was not getting initialized in the case of non-admin pages. So, I manually initialized that just before it gets included in the code. Issue #5997

avatar prasoon2211 prasoon2211 - open - 7 Feb 2015
avatar joomla-cms-bot joomla-cms-bot - change - 7 Feb 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 7 Feb 2015
Easy No Yes
avatar zero-24 zero-24 - change - 7 Feb 2015
Category Plugins
avatar prasoon2211
prasoon2211 - comment - 7 Feb 2015

@zero-24 Should work now :)

avatar zero-24
zero-24 - comment - 7 Feb 2015

@test success! Thanks @prasoon2211 one more tester


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6013.
avatar zero-24 zero-24 - test_item - 7 Feb 2015 - Tested successfully
avatar roland-d
roland-d - comment - 7 Feb 2015

@zero-24 @prasoon2211 How to test this? When I enable the debug system and look at the query count in the frontend it tells me there are 44/45 queries. That is without this patch.

avatar zero-24
zero-24 - comment - 7 Feb 2015

@roland-d

When I enable the debug system and look at the query count in the frontend it tells me there are 44/45 queries. That is without this patch.

on current beta2?

here my screenshots (sorry german but it is about the count)

beta2

beta2

with patch

after_patch

avatar roland-d
roland-d - comment - 7 Feb 2015

@zero-24 I actually tested with the current staging branch, which shouldn't be very different from beta 2 as beta 2 is created of it. So I can confirm the issue with beta 2 but not with the staging. This would mean the issue is already fixed.

avatar wilsonge
wilsonge - comment - 8 Feb 2015

@roland-d This issue has not been fixed since beta 2. Just look at the changelog. Nothing has touched databases or the debug plugin

avatar roland-d
roland-d - comment - 8 Feb 2015

@wilsonge Can you reproduce it with current staging?

avatar prasoon2211
prasoon2211 - comment - 8 Feb 2015

Well, I just tested against staging and I can confirm that the bug exists in staging. So, I don't know why it won't work as expected for @roland-d

avatar brianteeman
brianteeman - comment - 8 Feb 2015

I just retested with staging as well and still get 0 queries

avatar brianteeman
brianteeman - comment - 8 Feb 2015

@roland-d were you testing the FRONTEND? It works in the admin

avatar brianteeman
brianteeman - comment - 8 Feb 2015

@test after applying the patch the debug plugin now shows the number of queries in the frontend and the admin


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6013.
avatar brianteeman brianteeman - test_item - 8 Feb 2015 - Tested successfully
avatar roland-d
roland-d - comment - 8 Feb 2015

@test before there the number of queries is not shown, after apply the patch it is.
@brianteeman Yes I checked frontend. Not sure what happened but now I was able to reproduce the issue. Yesterday I even did a clean install before testing it again. All good now.

avatar roland-d roland-d - change - 8 Feb 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-02-08 14:03:47
avatar roland-d roland-d - close - 8 Feb 2015

Add a Comment

Login with GitHub to post a comment