PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar Flowman
Flowman
9 Jun 2025

Pull Request for Issue #32816 .

Summary of Changes

The language filter is configured for automatic language change and SEF is enabled.

When a logged-out user attempts to access a menu item that requires specific access permissions (e.g., https://test.com/en/somepagewithaccess), they are correctly redirected to the login page. The return URL is set to the intended destination, so the user should be redirected there after a successful login.

However, after signing in, the user is taken back to the login page instead of the originally requested page.

The PR checks if mode_sef is enabled and does the correct redirect.

Testing Instructions

  1. Create a site with 2 languages and SEF enabled.
  2. Create a menu item with access registered.
  3. Enabled automatic language change in Language Filter plugin.
  4. Try to access the restricted menu URL.
  5. Login to the site.

Check the screen capture in the original issue for more info.

Actual result BEFORE applying this Pull Request

User get redirected to the login page when the language filter is configured for automatic language change and SEF is enabled.

Expected result AFTER applying this Pull Request

User get redirected to the correct page when the language filter is configured for automatic language change and SEF is enabled.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar Flowman Flowman - open - 9 Jun 2025
avatar Flowman Flowman - change - 9 Jun 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Jun 2025
Category Front End Plugins
avatar Flowman Flowman - change - 9 Jun 2025
Labels Added: PR-5.3-dev
avatar ceford
ceford - comment - 10 Jun 2025

I can't get this PR to display default behaviour so have given up on testing it!


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

Add a Comment

Login with GitHub to post a comment