-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Magento\Customer\Model\Account\Redirect::setRedirectCookie() not properly working #24547
Comments
Hi @nikoskip. 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:
For more details, please, review the Magento Contributor Assistant documentation. @nikoskip do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-Charlie. Thank you for working on this issue.
|
@magento give me test instance
…On Wed, Sep 11, 2019, 2:42 AM m2-assistant[bot] ***@***.***> wrote:
Hi @engcom-Charlie <https://github.com/engcom-Charlie>. Thank you for
working on this issue.
In order to make sure that issue has enough information and ready for
development, please read and check the following instruction: 👇
-
1. Verify that issue has all the required information. (*Preconditions*,
*Steps to reproduce*, *Expected result*, *Actual result*).
DetailsIf the issue has a valid description, the label Issue: Format
is valid will be added to the issue automatically. Please, edit issue
description if needed, until label Issue: Format is valid appears.
-
2. Verify that issue has a meaningful description and provides enough
information to reproduce the issue. If the report is valid, add Issue:
Clear Description label to the issue by yourself.
-
3. Add Component: XXXXX label(s) to the ticket, indicating the
components it may be related to.
-
4. Verify that the issue is reproducible on 2.3-develop branch
Details- Add the comment @magento give me 2.3-develop instance to
deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.3-develop branch, please, add the
label Reproduced on 2.3.x.
- If the issue is not reproducible, add your comment that issue is not
reproducible and close the issue and *stop verification process here*!
-
5. Add label Issue: Confirmed once verification is complete.
-
6. Make sure that automatic system confirms that report has been added
to the backlog.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#24547?email_source=notifications&email_token=AL6CVBC4DMOKISOYFC5TLXLQJCHM5A5CNFSM4IVOWC22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6NOGRQ#issuecomment-530244422>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AL6CVBHRI6TPSVAEIUZ2DSTQJCHM5ANCNFSM4IVOWC2Q>
.
|
✅ Confirmed by @engcom-Charlie Issue Available: @engcom-Charlie, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
BTW, the I had to override this methods to get this to working. Here is my code if someone needs it, hope it helps!
|
Hi @sashas777. Thank you for working on this issue.
|
…ct::setRedirectCookie() not properly working
…Redirect::setRedirectCookie() not properly working #24612 - Merge Pull Request #24612 from sashas777/magento2:issue-24547 - Merged commits: 1. a15f335 2. 664056f 3. 5188efd 4. 3cf8f22 5. 7597003 6. 9413892 7. 9f2bbc2 8. bfa636f 9. 6446aed 10. 162ca60 11. 16da706 12. 2c24ef9 13. a514803 14. bfeadd7 15. cd5ef3c 16. dc416a9 17. 41ce59e 18. f021f1e 19. 511e16a
…Redirect::setRedirectCookie() not properly working #24612
Preconditions (*)
Steps to reproduce (*)
Call method
Magento\Customer\Model\Account\Redirect::setRedirectCookie()
Expected result (*)
Cookie
login_redirect
createdActual result (*)
The cookie is sent to the browser, but not properly. All the cookie params are missing.
Additional information
I checked the code and the problem is that the method
setPublicCookie
needs to include aPublicCookieMetadata
instance as third param.Indeed maybe
setPublicCookie
should require$metadata
as mandatory. Why someone would need to create a cookie without params?The text was updated successfully, but these errors were encountered: