-
Notifications
You must be signed in to change notification settings - Fork 9.4k
On Magento 2.3, form_key cookie expires immediately if cookie lifetime is set to 0 #19718
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
Comments
Hi @avgust1111. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @avgust1111 do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @TomashKhamlai. Thank you for working on this issue.
|
@avgust1111 such observations may be created directly as pull request ;) Thanks for your report. |
@magento-engcom-team give me 2.3.0 instance |
Hi @TomashKhamlai. Thank you for your request. I'm working on Magento 2.3.0 instance for you |
Hi @TomashKhamlai, here is your Magento instance. |
@avgust1111, thank you for report. I saw a label Fixed in 2.3.0 and also I was not able to reproduce issue by steps given. |
@TomashKhamlai , please, note: I'm talking specifically about the commit 99a3c01 and its changes, which was merged into the 2.2.X branch, but it wasn't merged correctly into the 2.3.X branch.
and As you can see, it's necessary to add at least the second part of condition, e.g: This is the problem I'm reporting |
We will check it again. |
@TomashKhamlai , thanks, I will be waiting for updates |
Hi @avgust1111 , thanks for your report. Can you please provide the actual steps to reproduce, actual and expected result for us to verify the issue. |
Hello, @sivaschenko
Actual result for 2.3.X: specific cookie is not set Please, investigate such an issue on 2.3.X. |
Can confirm this bug in 2.3.0.. |
@craigcarnell, did you reproduced the issue on clean Magento 2.3.0 or on Magento 2.3.0 upgraded from 2.2.x? |
Upgraded, I don't have time to install Magento for every single bug I find :) |
Hi @engcom-backlog-andrii. Thank you for working on this issue.
|
@magento-engcom-team give me 2.3.0 instance |
Hi @engcom-backlog-andrii. Thank you for your request. I'm working on Magento 2.3.0 instance for you |
Hi @engcom-backlog-andrii, here is your Magento instance. |
@avgust1111, @craigcarnell could you please copy the whole function |
@engcom-backlog-andrii Thank you for verifying the issue. Unfortunately, not enough information was provided to created internal ticket. Please consider adding the following:
Once all required information is added, please add label |
@avgust1111, please update the issue content to follow format required by Issue Reporting Guidelines |
@magento-engcom-team give me 2.2-develop instance |
Hi @engcom-backlog-andrii. Thank you for your request. I'm working on Magento 2.2-develop instance for you |
Hi @engcom-backlog-andrii, here is your Magento instance. |
@magento-engcom-team give me 2.2.7 instance |
Hi @engcom-backlog-andrii. Thank you for your request. I'm working on Magento 2.2.7 instance for you |
Hi @engcom-backlog-andrii, here is your Magento instance. |
@TomashKhamlai Why was this closed?? This is a major bug, I have to login to the admin several times.. |
@craigcarnell, I can reproduce it only on 2.1-develop. Please try to reproduce this problem in the provided instance. |
@magento-engcom-team give me 2.3.0 instance |
Hi @engcom-backlog-tomash. Thank you for your request. I'm working on Magento 2.3.0 instance for you |
Hi @engcom-backlog-tomash, here is your Magento instance. |
@TomashKhamlai i've found my issue, might not be related to this, will create a ticket. |
Preconditions (*)
Additional information
Commit 99a3c01 wasn't correctly merged to the actual 2.3.0 brach. Please, compare computeExpirationTime() function:
https://github.com/magento/magento2/blob/2.2.7/lib/internal/Magento/Framework/Stdlib/Cookie/PhpCookieManager.php
and
https://github.com/magento/magento2/blob/2.3.0/lib/internal/Magento/Framework/Stdlib/Cookie/PhpCookieManager.php
The text was updated successfully, but these errors were encountered: