User tests: Successful: Unsuccessful:
Pull Request for Issue #32816 .
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.
Check the screen capture in the original issue for more info.
User get redirected to the login page when the language filter is configured for automatic language change and SEF is enabled.
User get redirected to the correct page when the language filter is configured for automatic language change and SEF is enabled.
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
| Status | New | ⇒ | Pending |
| Category | ⇒ | Front End Plugins |
| Labels |
Added:
PR-5.3-dev
|
||
@Flowman I, too, like @ceford have no issues with the BEFORE condition (which for me actually is the AFTER condition) on a Joomla 5.3.2 test site and a 5.3.2 live site - both work as you explain that it should if the PR was applied without the need for the patch.
Is it possible that since 2021, the Joomla Core has fixed this?
Either that or there is a missing step in the Testing Instructions (which do appear pretty clear, easy, thorough), I even tried things beyond your description like setting the Article to a specific language but it still worked fine without the patch.
Looking forward to your reply/thoughts.
I can confirm the bug. The key to replicating the bug is to make sure that the menu items are associated.
In the second example you are redirected to the english article on login
I have tested this item ✅ successfully on 577b3aa
I have tested this item ✅ successfully on 577b3aa
I have successfully tested this. Thank you @Flowman for the PR, and @brianteeman for the updated testing instructions which worked perfectly.
| Status | Pending | ⇒ | Ready to Commit |
RTC
| Labels |
Added:
RTC
|
||
| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-08-05 11:01:11 |
| Closed_By | ⇒ | rdeutz | |
| Labels |
Added:
bug
|
||
Thanks
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.