{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/12362","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/12362/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/12362/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/12362/events","html_url":"https://github.com/magento/magento2/issues/12362","id":275367311,"number":12362,"title":"Concurrent (quick reload) requests on checkout cause cart to empty - related to session_regenerate_id","user":{"login":"minlare","id":1862882,"avatar_url":"https://avatars2.githubusercontent.com/u/1862882?v=4","gravatar_id":"","url":"https://api.github.com/users/minlare","html_url":"https://github.com/minlare","followers_url":"https://api.github.com/users/minlare/followers","following_url":"https://api.github.com/users/minlare/following{/other_user}","gists_url":"https://api.github.com/users/minlare/gists{/gist_id}","starred_url":"https://api.github.com/users/minlare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minlare/subscriptions","organizations_url":"https://api.github.com/users/minlare/orgs","repos_url":"https://api.github.com/users/minlare/repos","events_url":"https://api.github.com/users/minlare/events{/privacy}","received_events_url":"https://api.github.com/users/minlare/received_events","type":"User","site_admin":false},"labels":[{"id":688811200,"url":"https://api.github.com/repos/magento/magento2/labels/G1%20Passed","name":"G1 Passed","color":"0e8a16","default":false},{"id":686420665,"url":"https://api.github.com/repos/magento/magento2/labels/G2%20Passed","name":"G2 Passed","color":"0e8a16","default":false},{"id":686476746,"url":"https://api.github.com/repos/magento/magento2/labels/G3%20Passed","name":"G3 Passed","color":"0e8a16","default":false},{"id":686477069,"url":"https://api.github.com/repos/magento/magento2/labels/Reproduced%20on%202.1.x","name":"Reproduced on 2.1.x","color":"e99695","default":false},{"id":686477126,"url":"https://api.github.com/repos/magento/magento2/labels/Reproduced%20on%202.2.x","name":"Reproduced on 2.2.x","color":"e99695","default":false},{"id":686477167,"url":"https://api.github.com/repos/magento/magento2/labels/Reproduced%20on%202.3.x","name":"Reproduced on 2.3.x","color":"e99695","default":false},{"id":21716835,"url":"https://api.github.com/repos/magento/magento2/labels/acknowledged","name":"acknowledged","color":"02d7e1","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":43,"created_at":"2017-11-20T14:07:25Z","updated_at":"2018-04-24T12:55:18Z","closed_at":null,"author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n<!--- Before adding new issues, please, check this article https://github.com/magento/magento2/wiki/Issue-reporting-guidelines-->\r\n\r\n### Preconditions\r\n<!--- Provide a more detailed information of environment you use -->\r\n<!--- Magento version, tag, HEAD, etc., PHP & MySQL version, etc.. -->\r\n1. Magento 2.2.0\r\n2. PHP7\r\n\r\n### Steps to reproduce\r\n<!--- Provide a set of unambiguous steps to reproduce this bug include code, if relevant  -->\r\n1. Add product to cart\r\n2. Navigate to checkout\r\n3. Reload the page as quick as possible (F5 multiple times)\r\n\r\n### Expected result\r\n<!--- Tell us what should happen -->\r\n1. Reload the checkout as usual\r\n2. Cart contains session items\r\n\r\n### Actual result\r\n<!--- Tell us what happens instead -->\r\n1. Redirects to empty cart\r\n2. session_id() is old session id (previous request regenerated a new session_id, but this request has old session_id)\r\n\r\n<!--- (This may be platform independent comment) -->\r\nhttp://php.net/manual/en/function.session-regenerate-id.php\r\n\r\nIn 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..."},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/383919722","html_url":"https://github.com/magento/magento2/issues/12362#issuecomment-383919722","issue_url":"https://api.github.com/repos/magento/magento2/issues/12362","id":383919722,"user":{"login":"aleksejtsebinoga","id":28878572,"avatar_url":"https://avatars1.githubusercontent.com/u/28878572?v=4","gravatar_id":"","url":"https://api.github.com/users/aleksejtsebinoga","html_url":"https://github.com/aleksejtsebinoga","followers_url":"https://api.github.com/users/aleksejtsebinoga/followers","following_url":"https://api.github.com/users/aleksejtsebinoga/following{/other_user}","gists_url":"https://api.github.com/users/aleksejtsebinoga/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksejtsebinoga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksejtsebinoga/subscriptions","organizations_url":"https://api.github.com/users/aleksejtsebinoga/orgs","repos_url":"https://api.github.com/users/aleksejtsebinoga/repos","events_url":"https://api.github.com/users/aleksejtsebinoga/events{/privacy}","received_events_url":"https://api.github.com/users/aleksejtsebinoga/received_events","type":"User","site_admin":false},"created_at":"2018-04-24T12:55:18Z","updated_at":"2018-04-24T12:55:18Z","author_association":"NONE","body":"Can confirm that in our case - the solution by @acetronaut is **not** working at Magento 2.1.1 and the session is still dying after 5-10 fast refreshes of the page."}}
{"actor":{"display_login":"aleksejtsebinoga"}}