Closed
Description
Preconditions
- Magento 2.2.0
- PHP7
Steps to reproduce
- Add product to cart
- Navigate to checkout
- Reload the page as quick as possible (F5 multiple times)
Expected result
- Reload the checkout as usual
- Cart contains session items
Actual result
- Redirects to empty cart
- session_id() is old session id (previous request regenerated a new session_id, but this request has old session_id)
http://php.net/manual/en/function.session-regenerate-id.php
In https://github.com/magento/magento2/blob/2.2-develop/lib/internal/Magento/Framework/Session/SessionManager.php#L507 you reference http://php.net/manual/en/function.session-regenerate-id.php#53480 however I believe on concurrent requests this does not work correctly...
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.2 release lineThe issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.1 releaseThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release