Setup a SEF site.
Create 2 menu items in this order.
When trying to use an URL with access permission to sign in to the page http://test.com/en/administration/ user will be redirected to the Sign out page instead of the Sign in page.
It is because the MenuRules buildLookup will overwrite the first view it finds even when it should only append the view+layout.
Redirect user to the Sing in page.
User gets redirected to the Sign out page.
Joomla 3.9.25
PHP Version | 7.3.2
This line is the issue
commenting it out will solve this problem but don't know what other implications it has.Example buildLookup with the line:
/usr/share/nginx/html/libraries/src/Component/Router/Rules/MenuRules.php:265:
array (size=2)
'en-GB' =>
array (size=2)
'login' => string '142' (length=3)
'login:logout' => string '142' (length=3)
Example buildLookup without the line:
/usr/share/nginx/html/libraries/src/Component/Router/Rules/MenuRules.php:265:
array (size=2)
'en-GB' =>
array (size=2)
'login' => string '118' (length=3)
'login:logout' => string '142' (length=3)
Labels |
Added:
?
|
Thank you for raising this issue.
Joomla 3 is now in security only mode with no further bug fixes or new features.
As this issue doesn't relate to Joomla 4 it will now been closed.
If we are mistaken and this does apply to Joomla 4 please open a new issue (and reference this one if you wish) with updated details for testing in Joomla 4.
cc @zero-24
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-08-26 22:55:05 |
Closed_By | ⇒ | Quy | |
Labels |
Added:
No Code Attached Yet
Removed: ? |
Forgot to say if you change the menu order it works fine, but in this case I need to have the menus in this specific order and it should still work.