Skip to content
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

fix: confirming cookie preferences removes punchout related cookies #1619

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

shauke
Copy link
Collaborator

@shauke shauke commented Mar 27, 2024

PR Type

[x] Bugfix

What Is the Current Behavior?

If a new punchout session is opened and if the cookie banner is presented and if the user accepts any of the cookie consent options all cookies that are not listed as allowedCookies are deleted. Unfortunately this also happens to the just set punchout cookies and therefore the punchout functionality will no longer work as expected.

What Is the New Behavior?

The punchout cookies were added to the list of required cookies (allowedCookies) and with that they are no longer removed when setting the cookie consent. Meaning the punchout functionality works as expected.

Does this PR Introduce a Breaking Change?

[x] No

Other Information

AB#95355

* punchout cookies have to be added to the list of required cookies
* if punchout cookies are removed with the cookies consent the punchout functionality will no longer work as expected
* added to documentation as well
@shauke shauke self-assigned this Mar 27, 2024
@shauke shauke requested a review from SGrueber March 27, 2024 18:28
@shauke shauke added this to the 5.1 milestone Mar 27, 2024
@shauke shauke added the bug Something isn't working label Mar 27, 2024
@shauke shauke merged commit d929606 into develop Mar 28, 2024
24 checks passed
@shauke shauke deleted the bugfix/preseve_punchout_cookies branch March 28, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants