? ? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
8 May 2021

Pull Request for Issue #33500.

Summary of Changes

Ignore menu items access level check while parsing sef router so that in case users access to a menu item which requires login, they will be redirected to login page instead of seeing 404 error (same behavior with Joomla! 3)

Testing Instructions

  1. Create a menu item to link to an article, set Access to Registered. Set alias of that menu item to test or something you want.
  2. Access to frontend of your site, remember to log-out if you are logged in
  3. Try to access to the the menu item which you created above. The link will have this format https://localhost/joomla4/index.php/test or https://localhost/joomla4/test (depends on your site setting)
  1. Before patch: You get 404 error
  2. After patch: You are being redirected to login page which allows you to login to access to that link
avatar joomdonation joomdonation - open - 8 May 2021
avatar joomdonation joomdonation - change - 8 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 May 2021
Category Libraries
avatar sandramay0905 sandramay0905 - test_item - 9 May 2021 - Tested successfully
avatar sandramay0905
sandramay0905 - comment - 9 May 2021

I have tested this item successfully on a96401d


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

avatar alikon alikon - test_item - 9 May 2021 - Tested successfully
avatar alikon
alikon - comment - 9 May 2021

I have tested this item successfully on a96401d


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

avatar alikon alikon - change - 9 May 2021
Status Pending Ready to Commit
avatar alikon
alikon - comment - 9 May 2021

RTC


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

avatar richard67 richard67 - close - 9 May 2021
avatar richard67 richard67 - merge - 9 May 2021
avatar richard67 richard67 - change - 9 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-09 11:17:15
Closed_By richard67
Labels Added: ? ?
avatar richard67
richard67 - comment - 9 May 2021

Thanks!

Add a Comment

Login with GitHub to post a comment