? Success

User tests: Successful: Unsuccessful:

avatar nvyush
nvyush
18 Aug 2016

Pull Request for Issue #11643.

Summary of Changes

1) array(...) and in_array(...) replaced with more effective in that case bitwise operations.
2) initialization of $denied_states move before of the cycle.

Modifications of code are trivial and should not lead to side effects.

Testing Instructions

1) Create two test users e.g. 'test1' and 'test2'.
2) Set user 'test2' as blocked (set 'Accout Details' - 'Block this User' to 'Yes').
3) Try to login as user 'test1'. You should can do this.
4) Try to login as user 'test2'. You should get message "Login denied! Your account has either been blocked or you have not activated it yet." (JERROR_NOLOGIN_BLOCKED).

Documentation Changes Required

Not needed.

avatar joomla-cms-bot joomla-cms-bot - change - 18 Aug 2016
Category Libraries
avatar nvyush nvyush - open - 18 Aug 2016
avatar nvyush nvyush - change - 18 Aug 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Aug 2016
Labels Added: ?
avatar BurtNL BurtNL - test_item - 18 Aug 2016 - Tested successfully
avatar BurtNL
BurtNL - comment - 18 Aug 2016

I have tested this item successfully on 2e28ca7

Installed a clean 3.6.3-dev.
Created user1 and user2, set user2 to blocked.
Logged in on frontend as user1: OK!
Logged in on frontend as user2: message as stated in this PR, access denied.

Applied the patch.
Created user3 and user4, set user4 to blocked.
Logged in on frontend as user3: OK!
Logged in on frontend as user4: message as stated in this PR, access denied.

Conclusion: I did not find any difference, everything works as expected. Tested successfully.


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

avatar csthomas csthomas - test_item - 18 Aug 2016 - Tested successfully
avatar csthomas
csthomas - comment - 18 Aug 2016

I have tested this item successfully on 2e28ca7

I have tested it on J3.6.2 with com_patchtester.


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

avatar nvyush
nvyush - comment - 23 Aug 2016

I updated branch accidentally without changing any code. Please, recheck.

avatar csthomas csthomas - test_item - 23 Aug 2016 - Tested successfully
avatar csthomas
csthomas - comment - 23 Aug 2016

I have tested this item successfully on 1a42032

The same as instruction say.


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

avatar BhaveshTailored
BhaveshTailored - comment - 24 Aug 2016

I have tested successfully.
I did not find any difference, everything works as expected.


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

avatar bhavikTailored bhavikTailored - test_item - 24 Aug 2016 - Tested successfully
avatar bhavikTailored
bhavikTailored - comment - 24 Aug 2016

I have created two user like "Test5" and "Test6" and set Test6 to blocked.

avatar BhaveshTailored BhaveshTailored - test_item - 24 Aug 2016 - Tested successfully
avatar bhavikTailored
bhavikTailored - comment - 24 Aug 2016

I have tested this item successfully on 1a42032


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

avatar BhaveshTailored
BhaveshTailored - comment - 24 Aug 2016

I have tested this item successfully on 1a42032


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

avatar rdeutz rdeutz - change - 24 Aug 2016
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-08-24 07:27:51
Closed_By rdeutz
avatar rdeutz rdeutz - close - 24 Aug 2016
avatar rdeutz rdeutz - merge - 24 Aug 2016
avatar tomartailored tomartailored - test_item - 27 Aug 2016 - Tested successfully
avatar tomartailored
tomartailored - comment - 27 Aug 2016

I have tested this item successfully on 1a42032

i have tested successfully this item


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

avatar brianteeman
brianteeman - comment - 27 Aug 2016

@tomartailored This has already been merged - so either you are not testing with the current staging which you must always do or you didnt really test it but I am sure that you did didnt you


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

Add a Comment

Login with GitHub to post a comment