User tests: Successful: Unsuccessful:
Pull Request for Issue #15730
Display the login form without an Itemid as it was before 3.7.0
Set a Home page to Registered.
Load the Home page
Test SEF on and off
Test with an existing Login Form menu item or not.
The login form will display whatever the situation
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
?
|
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
I successfully tested this as well J3.85.RC with and without login form performs as JM stated.
This is still incorrect as bypassing the use of the router is wrong.
I have tested this item
I successfully tested this as well J3.85.RC with and without login form performs as JM stated
Bypassing the router means there's still a broken routing condition. That's what's concerning here. Ya, it might work, but it's avoiding another issue.
Labels |
Added:
?
|
Removing RTC as the code has changed
Please test anyway. Thanks.
I have tested this item
hhmm, i am afraid that this PR is not enough
the redirection loop issue is fixed
... but the login form that appears has a target URL that includes an Itemid ...
so as soon as you submit the form, you get redirected back to the login form, to try to login (again)
thus you cannot login
So since we can not update login forms in overrides if 3rd party templates to use JRoute will null Itemid
this will
in any case it is a rare misconfiguration issue, no need for this to be addressed in J3.8.5
I can not confirm that - login works correctly for me
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-02-05 15:26:00 |
Closed_By | ⇒ | infograf768 |
I can not confirm that - login works correctly for me
you will need to unpublish all 'com_users' menu items (of any type),
that way the menu item id (Itemid) that is selected for the form target URL will be the home page menu item id, which is not accessible
Make sure that SEF URLs are enabled (i tested with SEF URLs on),
and then please examine the HTML code login form and look at the form target URL,
the form target URL
if there are no com_users menu items published
-- it should have the menu item Id of the home page
only then you will not be able to login, because before login tasks executes, you will get redirected back to the login form due to the currently inaccessible menu item
@brianteeman
i think you did not apply correctly the last instance of the pr. look at the url you got. it does not inlude &itemid=
yeah - something went wrong locally. just did a clean install of everything and I see the problem
I have tested this item✅ successfully on 4fa702f
Before PR -
No login menu => too many redirects
With login menu => login
After PR
No login menu => login
With login menu => login
(thanks for listening that the correct approach was to look at the cause of the bug)
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19559.