-
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
MAX_NUM_COOKIES can not be overridden any more #39625
Comments
Hi @yavery. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
I assume this was done on purpose @nathanjosiah? There is however a quality patch to increase the max number of cookies allowed from 50 to 200: MDVA-12304, however, it's not compatible yet with the latest security releases. Follow magento/quality-patches#133 to see how it progresses. If you really need an urgent fix, I suggest you create your own patch and apply it to your shop, it shouldn't be hard. |
Hi @engcom-Hotel. Thank you for working on this issue.
|
Hello @yavery, Thanks for the report and collaboration! As per the discussion internally, this issue has been fixed in the scope of JIRA https://jira.corp.adobe.com/browse/AC-13918, and planned to release in April. Hence closing this issue. |
@engcom-Hotel: please do not close issues when the fix hasn't been pushed to the open source repository here on github. Thanks! |
Sure @hostep, let me reopen it and move it to Thanks |
Preconditions and environment
Steps to reproduce
upgrade to 2.4.5-P11, 2.4.6-P9
in previous versions:
and
after upgrade:
and
Expected result
Magento codebase use more than 50 cookies, Application needs to override the MAX_NUM_COOKIES
Previously, this can be done through an overriding via preference:
Actual result
After upgrade, every call to server would generate a new log entry:
self::MAX_NUM_COOKIES
only access the theprivate const MAX_NUM_COOKIES
Additional information
Judging by new release adding
private
in front ofconst MAX_NUM_COOKIES
, is Magento trying to make it hard for application to change MAX_NUM_COOKIES and expressing a strong recommendation on thisRelease note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: