? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
15 Nov 2018

Pull Request for Issue #23083.

Summary of Changes

This fixes class_exists() check so guest user group can be retrieved from component configuration.

Testing Instructions

a) See the output of var_dump(JFactory::getUser()->getAuthorisedViewLevels()); when not logged in.
b) Create a menu item. Set its access level to Guest. Open site and look at menu module when not logged in.

Expected result

a) Guest user group included: array(3) { [0]=> int(1) [1]=> int(1) [2]=> int(5) }
b) Menu item shown.

Actual result

a) Guest user group not included: array(2) { [0]=> int(1) [1]=> int(1) }
b) Menu item not shown.

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 15 Nov 2018
avatar SharkyKZ SharkyKZ - change - 15 Nov 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Nov 2018
Category Libraries
avatar SharkyKZ SharkyKZ - change - 15 Nov 2018
Labels Added: ?
avatar SharkyKZ SharkyKZ - change - 15 Nov 2018
The description was changed
avatar SharkyKZ SharkyKZ - edited - 15 Nov 2018
avatar SharkyKZ SharkyKZ - change - 15 Nov 2018
The description was changed
avatar SharkyKZ SharkyKZ - edited - 15 Nov 2018
avatar tuum
tuum - comment - 15 Nov 2018

@test This fix works for me. Thanks @SharkyKZ

avatar tuum
tuum - comment - 15 Nov 2018

I have tested this item successfully on 72c7f2e


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

avatar tuum
tuum - comment - 15 Nov 2018

I have tested this item successfully on 72c7f2e


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

avatar tuum tuum - test_item - 15 Nov 2018 - Tested successfully
avatar bembelimen
bembelimen - comment - 15 Nov 2018

Remove comment...

avatar SharkyKZ
SharkyKZ - comment - 15 Nov 2018

@bembelimen this doesn't change the default value.

avatar wilsonge wilsonge - change - 21 Nov 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-11-21 23:15:46
Closed_By wilsonge
avatar wilsonge wilsonge - close - 21 Nov 2018
avatar wilsonge wilsonge - merge - 21 Nov 2018
avatar wilsonge
wilsonge - comment - 21 Nov 2018

Thanks!

Add a Comment

Login with GitHub to post a comment