No Code Attached Yet Information Required bug
avatar Sandvelder
Sandvelder
14 Sep 2021

Steps to reproduce the issue

Hi
Joomla 4, after a session has expired, does not redirect to the previous page after a re-login, but goes to the user's profile page.

Expected result

Actual result

System information (as much as possible)

Additional comments

avatar Sandvelder Sandvelder - open - 14 Sep 2021
avatar Sandvelder Sandvelder - change - 14 Sep 2021
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 14 Sep 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Sep 2021
avatar brianteeman
brianteeman - comment - 15 Sep 2021

Are you referring to the site or the admin?

avatar Quy Quy - labeled - 16 Sep 2021
avatar Sandvelder
Sandvelder - comment - 19 Sep 2021

Hi Brian
I am referring to the site. I have 22 sites, of which 3 are on Joomla 4. The new Joomla 4 sites give this issue.
For instance, I would be on my management site (management.jfbdesigns.co.za) on the academics page (https://management.jfbdesigns.co.za/academics) and after a while, the session ends. On refreshing, the login screen pops up and I log in. You should then go back to the academics page, but the user profile screen pops up. Joomla 4 should, like Joomla 3, keep you on the page you were on when the session expired.
Regards,
Francois

avatar brianteeman
brianteeman - comment - 19 Sep 2021

There are two places you should check

  1. The login module
  2. The login menu item (if you have one)

Both of these have an option describing what will happen on login

avatar Sandvelder
Sandvelder - comment - 19 Sep 2021

Thank you, Brian
Yes, I have checked those prior to posting here, but they seemed not to have changed anything. I have now logged into the module again and removed any references to redirects. It seemed to have resolved it. But I did that before too and it would not change anything. It seems fine now - fingers crossed!
Regards
Francois

avatar Sandvelder Sandvelder - change - 19 Sep 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-09-19 08:20:56
Closed_By Sandvelder
Labels Added: Information Required
avatar Sandvelder Sandvelder - close - 19 Sep 2021
avatar Sandvelder Sandvelder - change - 19 Sep 2021
Status Closed New
Closed_Date 2021-09-19 08:20:56
Closed_By Sandvelder
avatar Sandvelder Sandvelder - reopen - 19 Sep 2021
avatar Sandvelder
Sandvelder - comment - 19 Sep 2021

Hi Brian
I thought the problem was solved, but it was not.
In Joomla 4, if a session has expired and you click on a menu item, it takes you to the login screen, which is correct, and once you logged in you are supposed to be directed to the menu item you clicked on, but you land up at the user profile page.
I have gone through all the login module settings and nowhere is there a redirection set to the user profile page.
I think it is one of those new issues with a new version which someone should just address rather sooner than later. The rest of Joomla 4 is working nicely and I am impressed with it.
Regards,
Francois

avatar brianteeman
brianteeman - comment - 19 Sep 2021

I could not replicate this when I checked this morning. Please post a screenshot of your login module options and of any login menu (if you have one)

avatar Sandvelder
Sandvelder - comment - 20 Sep 2021

Hi Brian
When I am logged out of my management site, only two items are available: 1) Home and 2) Blog. When I log in, the others appear too. See this screenshot.

Once the session times out and I click on any of those menu items, say [Finance], the website takes me to a login screen. See this screenshot.
I then click on [Login], expecting to go to [Finance] but land up here.

I am supposed to be on this screen

avatar Sandvelder
Sandvelder - comment - 20 Sep 2021

The links I left do not work.

I do not know what to do anymore

avatar brianteeman
brianteeman - comment - 20 Sep 2021

post your images here

avatar jwaisner
jwaisner - comment - 1 Oct 2021

@Sandvelder , Please post images of your issue.

avatar joomdonation joomdonation - change - 30 Oct 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-10-30 14:05:01
Closed_By joomdonation
avatar joomdonation joomdonation - close - 30 Oct 2021
avatar joomdonation
joomdonation - comment - 30 Oct 2021

Tried and could not confirm the issue. Looking at the code https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/Application/SiteApplication.php#L101 , I believe we have handle this use-case already

So for now, I'm closing this issue. If you have a reliable way to allow us to see the error, feel free to re-open. Thanks !

avatar JanMeest
JanMeest - comment - 21 May 2022

Yes I have the same problem. Joomla 4.1.3


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

avatar Sandvelder
Sandvelder - comment - 21 May 2022

That problem still persists - I do not know if anyone is even looking into it.

avatar HLeithner HLeithner - change - 21 May 2022
Status Closed New
Closed_Date 2021-10-30 14:05:01
Closed_By joomdonation
avatar HLeithner HLeithner - reopen - 21 May 2022
avatar HLeithner
HLeithner - comment - 21 May 2022

@Sandvelder if you session expire and you get redirected to the login screen please check the sourcecode of the page. There should be an input field with the Name "return". The value is a base64 Encoder string, please post this string Here.

avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 22 Feb 2023
avatar Hackwar Hackwar - change - 26 Nov 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-11-26 17:47:36
Closed_By Hackwar
avatar Hackwar Hackwar - close - 26 Nov 2024
avatar Hackwar
Hackwar - comment - 26 Nov 2024

Unfortunately there was no response even after 2 years, so I'm closing this issue. If you still encounter this issue, please open a new ticket with the necessary information.

Add a Comment

Login with GitHub to post a comment