-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customer is logged in but showing 404 error in frontend. #35838
Comments
Hi @ananth-iyer. Thank you for your report.
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento give me 2.4-develop instance |
Hi @ananth-iyer. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Lima. Thank you for working on this issue.
|
Hi @ananth-iyer, here is your Magento Instance: https://70b0711c568e9cdf00416449ee01f393.instances.magento-community.engineering |
If you visit this link: https://70b0711c568e9cdf00416449ee01f393.instances.magento-community.engineering/customer/account/loginPost/ |
Hi @ananth-iyer Thanks for your contribution and collaboration. I have tried to reproduce the issue but unable to reproduce it. Thanks |
You did not click this link to replicate the issue - https://70b0711c568e9cdf00416449ee01f393.instances.magento-community.engineering/customer/account/loginPost/ It is clear, you don't want to fix the issue. |
@engcom-Lima ☝🏻 |
@magento give me 2.4-develop instance |
Hi @engcom-Lima. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Lima, here is your Magento Instance: https://70b0711c568e9cdf00416449ee01f393.instances.magento-community.engineering |
Hi @ananth-iyer , I had clicked on above url you have given and I got the 404 error as you described. Further I tried to investigate when we get this url appended with Thanks |
@engcom-Lima It takes referer url |
@magento give me 2.4-develop instance |
Hi @ananth-iyer. Thank you for your request. I'm working on Magento instance for you. |
Hi @ananth-iyer, here is your Magento Instance: https://70b0711c568e9cdf00416449ee01f393.instances.magento-community.engineering |
@engcom-Lima check this screen recording |
✔️ Issue confirmed Issue got reproduced in 2.4-develop branch. Description: Customer is logged in but showing 404 error in the frontend. Steps to reproduce:
Expected result: Actual result: |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-6071 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Lima. Thank you for verifying the issue. |
Hi @engcom-Lima are there any updates? |
I have the same issue, its also compounded by Amasty plugin redirecting all 404 pages to search making it confusing as hell. This is still present on 2.4.5 upgrade from 2.4.3. I think what happens is that after an unsuccesful login, it loses referrer URL or something similar happens and it just dumps the user to 404 page. |
Hi @pmonosolo & @ananth-iyer , Thanks for your contribution and collaboration. Internal team is working on it ,we will come back soon with some result. Thanks |
Thanks @engcom-Lima ! It'd be great if the fix was released as a hotfix instead of waiting for a full release or a patch. We cant have enterprise software have a serious issue where we lose customers because the basic function such as login does not work. |
We faced a similar issue in our one of the commerce cloud websites and the Adobe support team is not ready to check this so I am also actively looking for a solution. In our case, the referer URL is incorrectly generated, and due to that customer is not redirecting to the previous page after login. The issue is the login referer URL miss %2C at the end of the URL. Wrong URL: https://www.our_domain.com/en/customer/account/login/referer/aHR0cHM6Ly93d3cucGFjaWZpY3Ntb2tlLmNvbS9lbi8%2C/ As you can see, the correct URL has %2C at the end, which is missing in the wrong URL. (Basically, correct URL has two %2C%2C but the wrong URL only has one) If we manually add %2C at the end of the URL, then it works as expected. Now we are not sure why %2C is missing from the URL. And the best thing is if we cloned the commerce cloud website to local (with same code and DB) then we have not face any issue :( Thanks, |
@engcom-Lima are there any updates? |
It happens everywhere where you have an exception during login. Quick solution until Magento developers make the right fix: use Magento\Framework\Url\DecoderInterface;
|
Preconditions and environment
Base64 - aHR0cDovL21hZ2VudG8yNDAubG9jYWwvY3VzdG9tZXIvYWNjb3VudC9sb2dpblBvc3Qv
Decoded Base64 - http://magento240.local/customer/account/loginPost/
Steps to reproduce
/customer/account/loginPost/
in your magento url. ex-http://magento240.local/customer/account/loginPost/Expected result
It should generate referer url to Customer dashboard page when referer URL header contains /loginPost.
Actual result
It is not generating referrer url to customer dashboard page,It is showing 404 error page but customer is logged in.
Attached video: Untitled_ Jul 29, 2022 3_00 PM.webm
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: