J3 Issue ?
avatar shraddhaSankpal27
shraddhaSankpal27
23 Jul 2019

Steps to reproduce the issue

Login to Joomla Backend with Superuser access

Go to Users => Manage
Disable any user
Go to Users => Users Action Log
See the latest activity. "User user2 logged out from admin"

Expected result

'User user2 logged out from admin' activity should not be logged because 'user2' is not login to the Joomla backend.

Actual result

Activity should not be logged.

System information (as much as possible)

Joomla - 3.9.10
screen shot 2019-07-23 at 05 20 08

screen shot 2019-07-23 at 05 20 10

Votes

# of Users Experiencing Issue
4/4
Average Importance Score
4.00

avatar shraddhaSankpal27 shraddhaSankpal27 - open - 23 Jul 2019
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Jul 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Jul 2019
Labels Added: J3 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 23 Jul 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Jul 2019

Thanks for your Report. Can you please read #25688? If its the same issue please close this one also.

avatar shraddhaSankpal27
shraddhaSankpal27 - comment - 23 Jul 2019

Issue is on same action on user disable but its different one.


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Jul 2019
Status New Discussion
avatar richard67
richard67 - comment - 23 Jul 2019

Issue confirmed: Instead of something like "user XY blocked", the action log shows "user XY logged out from admin" when user XY is blocked by some super admin, but that user XY has not been logged in.

avatar Quy
Quy - comment - 23 Jul 2019

Based on Michael's comment, I assume the message would have to be generic such as User admin1 updated the user johndoe.

avatar richard67
richard67 - comment - 23 Jul 2019

Yes, just as you write it I remember that comment.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Jul 2019

Thats why i asked if its the same Issue.

avatar richard67
richard67 - comment - 23 Jul 2019

No, not the same. This issue here should be possible to be fixed because we already log user modifications. The other issue was about logging more details which would be new and technically not an easy thing.

avatar richard67
richard67 - comment - 23 Jul 2019

It seems the onUserLogout event is triggered anyway, and this issues that log.

So I think somwhere the user is logged out (regardless if logged in or not) and so that event is fired.

As far as I understand this issue, the user modification is logged correctly, and so it only needs to surpress that user logout if the user is not logged in, or alternatively, surpress the log in that case.

If anyone has a quick idea how to do that, let us know here.

avatar richard67
richard67 - comment - 26 Jul 2019

@mbabker Sorry when bothering you, but maybe you have an idea: The issue here seems not to be that the actions log just logs that some user was modified instead of logging the details. That's ok here. The problem here is that when a user is blocked, it seems there is made a forced logout even if the user is not logged in anywhere. And this logout action then triggers the event which logs the logout action, which is wrong in this case. Do you know where to look for that, and do you think it could be changed so the logout is not called when the user is not logged in? Or does this forced logout have some reason?

avatar alikon
alikon - comment - 11 Aug 2019

please test #25812

avatar joomla-cms-bot joomla-cms-bot - change - 11 Aug 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-08-11 08:34:44
Closed_By joomla-cms-bot
avatar alikon alikon - change - 11 Aug 2019
Closed_By joomla-cms-bot alikon
avatar joomla-cms-bot joomla-cms-bot - close - 11 Aug 2019
avatar joomla-cms-bot
joomla-cms-bot - comment - 11 Aug 2019

Set to "closed" on behalf of @alikon by The JTracker Application at issues.joomla.org/joomla-cms/25694

Add a Comment

Login with GitHub to post a comment