? Failure

User tests: Successful: Unsuccessful:

avatar pmleconte
pmleconte
14 Sep 2016

Pull Request for Issue # .

Summary of Changes

com_users/router.php

Testing Instructions

Joomla 3.6.2, no specific module/extension/plugin

  1. create a logout menu
  2. create a login menu that will disappear when you are logged in (shown if the user is "invited")
  3. set "force password reset" to yes on one user
  4. login with this user
  5. user profile is displayed but you cannot access the passord change form.

Documentation Changes Required: no

If a logout menu item exists, users can not access to profil changes.

It means that the "force password reset" function won't work either.

com_users/Router.php creates a default link index.php/logout/profile?layout=edit that won't work, it blocks profile changes button et stays on profile display form.

The problem is that logout menu creates the following link :
index.php?option=com_users&view=login&layout=logout&task=user.menulogout

and the router just checks view=login, ignoring the view part of the link.

A "cleaner" solution could be to change the logout menu to become index.php?option=com_users&view=logout.

Pascal

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar pmleconte pmleconte - open - 14 Sep 2016
avatar pmleconte pmleconte - change - 14 Sep 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Sep 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 14 Sep 2016
Category Front End Components
avatar pmleconte pmleconte - change - 15 Sep 2016
Title
User profil changes and password reset won't work if logout menu exists
[fix] User profil changes and password reset won't work if logout menu exists
avatar pmleconte pmleconte - edited - 15 Sep 2016
avatar pmleconte pmleconte - change - 15 Sep 2016
Title
User profil changes and password reset won't work if logout menu exists
[fix] User profil changes and password reset won't work if logout menu exists
avatar pmleconte pmleconte - change - 15 Sep 2016
Title
[fix] User profil changes and password reset won't work if logout menu exists
[com_users][fix] User profil changes and password reset won't work if logout menu exists
avatar pmleconte pmleconte - edited - 15 Sep 2016
avatar pmleconte pmleconte - change - 15 Sep 2016
Title
[fix] User profil changes and password reset won't work if logout menu exists
[com_users][fix] User profil changes and password reset won't work if logout menu exists
avatar brianteeman
brianteeman - comment - 16 Sep 2016

I can NOT confirm your findings. As seen by the video everything works correctly - or do i misunderstand
login

avatar brianteeman brianteeman - change - 16 Sep 2016
Status Pending Information Required
avatar pmleconte
pmleconte - comment - 17 Sep 2016

Hi Brian,

It does work because you have both login and logout menus.

In my configuration, after user login, the login menu disappears (only shown if you are "invited"), so there 's only Logout Menu. In this case, you cannot access the profile changes.

Pascal

avatar pmleconte pmleconte - change - 19 Sep 2016
Title
[com_users][fix] User profil changes and password reset won't work if logout menu exists
[com_users][fix] User profil changes and password reset won't work if logout menu exists and no login menu is shown
avatar pmleconte pmleconte - change - 19 Sep 2016
Title
[com_users][fix] User profil changes and password reset won't work if logout menu exists
[com_users][fix] User profil changes and password reset won't work if logout menu exists and no login menu is shown
avatar pmleconte pmleconte - edited - 19 Sep 2016
avatar pmleconte pmleconte - change - 19 Sep 2016
The description was changed
avatar pmleconte pmleconte - edited - 19 Sep 2016
avatar brianteeman
brianteeman - comment - 21 Sep 2016

I tried again and I still cannot replicate it - see https://www.dropbox.com/s/1eqn8wwgvg6sedg/reset.mp4?dl=0


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

avatar pmleconte
pmleconte - comment - 21 Sep 2016

OK, one more condition: SEF mode should be ON (which is the default configuration).

Pascal

avatar brianteeman
brianteeman - comment - 21 Sep 2016

And now I can replicate the issue -thanks. Will test soon

avatar brianteeman brianteeman - change - 21 Sep 2016
Status Information Required Pending
avatar brianteeman brianteeman - test_item - 21 Sep 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 21 Sep 2016

I have tested this item successfully on 763887b

Thank you for being patient with me
I have now confirmed the issue and have applied the PR and it resolves the issue

Thanks!!!


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Jan 2017

I have tested this item successfully on 763887b


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 11 Jan 2017 - Tested successfully
avatar zero-24
zero-24 - comment - 11 Jan 2017

@Hackwar can you take a final look here?

As this are the merge conflicts we have with 3.7.0 router changes.

image

avatar Hackwar
Hackwar - comment - 11 Jan 2017

This PR does not seem to be valid anymore. The tests by @brianteeman are from before a complete rewrite of the routers. The code like this has no function right now. I did not test the whole thing, but I would be surprised if that is still an issue in the current staging. In any case, if this PR is merged in the current form, it will just create a bunch of notices and nothing more. There will be no change to the router by this.

avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Apr 2017
The description was changed
Status Pending Needs Review
avatar joomla-cms-bot joomla-cms-bot - change - 6 Apr 2017
Category Front End Components Front End com_users Components
avatar joomla-cms-bot joomla-cms-bot - edited - 6 Apr 2017
avatar roland-d
roland-d - comment - 13 May 2017

@pmleconte Can you have a look to see if the issue still exists in 3.7.0 and if needed update your PR? Thank you.

avatar franz-wohlkoenig franz-wohlkoenig - change - 14 May 2017
Status Needs Review Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Jun 2017

If this PR get no Response, it will be closed at 23th July 2017.

avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Jul 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-07-23 08:20:25
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 23 Jul 2017
Closed_Date 2017-07-23 08:20:25 2017-07-23 08:20:27
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot
joomla-cms-bot - comment - 23 Jul 2017
avatar joomla-cms-bot joomla-cms-bot - close - 23 Jul 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Jul 2017

closed as stated above.


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

avatar procajlok
procajlok - comment - 11 Apr 2018

Hello! O Joomla 3.8.1 I have the same problem. When i have 'logout' menu item (visible only for login user), user can't reset password.


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 Apr 2018

@procajlok Please update on latest Release and ask further help on the forums. This repository concerns in first Place Joomla-Core coding, thanks.

Add a Comment

Login with GitHub to post a comment