? Pending

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
18 Sep 2016

Summary of Changes

This PR aims to improve performance in super user calculation by taking advantage of asset access preloading.

The following tests were made with a super user logged in frontend homepage in sample multilingual site.

Before

image

After

image

Testing Instructions

  1. Code review.
  2. Apply patch on 3.7.x branch.
  3. Login and logout with a super user and without a superuser.
  4. Check if super user permissions are ALWAYS correctly identified in all circunstances.

Note: Please test this careful as this is the super user permissions ...

Documentation Changes Required

None.

mantainers please confirm the root asset is always called root.1 and id is always 1

avatar andrepereiradasilva andrepereiradasilva - open - 18 Sep 2016
avatar andrepereiradasilva andrepereiradasilva - change - 18 Sep 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Sep 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 18 Sep 2016
Category Libraries
avatar andrepereiradasilva andrepereiradasilva - change - 18 Sep 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - edited - 18 Sep 2016
avatar andrepereiradasilva andrepereiradasilva - change - 18 Sep 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - edited - 18 Sep 2016
avatar zero-24
zero-24 - comment - 20 Sep 2016

Also after the patch I get 28 Queries logged and on afterRender is not changed here? I'm confused.

avatar andrepereiradasilva
andrepereiradasilva - comment - 20 Sep 2016

sorry @zero-24 we need to add the "root.1" asset to avoid the 3 queries.

avatar andrepereiradasilva andrepereiradasilva - change - 20 Sep 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - edited - 20 Sep 2016
avatar zero-24
zero-24 - comment - 20 Sep 2016

Works now (i can see there are just 25 queries and less memory usage)

but how can i test this:

Check if super user permissions are ALWAYS correctly identified in all circunstances.

Any special or just navigate the backend?

avatar andrepereiradasilva
andrepereiradasilva - comment - 20 Sep 2016

for instance, you need to create some users assigned to several grups give some of them super user permissions, other not, log with them and check if the ones that should be superusers are super users, the others not.

avatar andrepereiradasilva andrepereiradasilva - change - 20 Sep 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - edited - 20 Sep 2016
avatar zero-24
zero-24 - comment - 20 Sep 2016

ok it is on my list for tomorrow 😄 Thanks!

avatar zero-24 zero-24 - test_item - 8 Oct 2016 - Tested successfully
avatar zero-24
zero-24 - comment - 8 Oct 2016

I have tested this item ✅ successfully on 0ab3410

ok it was not exact tomorrow 😄 But it looks ok on my site. Thanks!


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

avatar brianteeman brianteeman - change - 29 Oct 2016
Labels Added: ?
Removed: ?
avatar andrepereiradasilva
andrepereiradasilva - comment - 7 Nov 2016

not needed anymore, #12809 takes care of this in another way

avatar andrepereiradasilva andrepereiradasilva - change - 7 Nov 2016
The description was changed
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-11-07 12:20:03
Closed_By andrepereiradasilva
avatar andrepereiradasilva andrepereiradasilva - close - 7 Nov 2016

Add a Comment

Login with GitHub to post a comment