'customer' customer-data section is not being refreshed on the first page after login #13984
Labels
Issue: Cannot Reproduce
Cannot reproduce the issue on the latest `2.4-develop` branch
Issue: Clear Description
Gate 2 Passed. Manual verification of the issue description passed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Progress: needs update
On the first page you arrive on after login, the customer-data section 'customer' is not reloaded.
This will cause issue for scripts relying on the 'customer' section.
Preconditions
Steps to reproduce
Expected result
Actual result
If you output the steps of the invalidate and reload function in Magento/Customer/view/frontend/web/js/customer-data.js you will see that the request is invalidating
The '*' is a wildcard to invalidate every section (which you can see in
If you output the 'sectionsNamesForInvalidation' variable you can see that the customer section is one of those sections.
After the login action you arrive on a page (default this will probably be the my account dashboard) and you will see that the customer section is not being reloaded.
The text was updated successfully, but these errors were encountered: