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

Develop 6.2.x #17648

Merged
merged 13 commits into from
Jul 17, 2023
Merged

Develop 6.2.x #17648

merged 13 commits into from
Jul 17, 2023

Conversation

KeerthiSap
Copy link

No description provided.

i333055 and others added 13 commits June 21, 2023 15:09
Previous behavior: When `/products` endpoint returned a http error, the code broke in [this line](https://github.com/SAP/spartacus/blob/ed1e1a78c488b1e1214491ffa736612287f8cf70/projects/core/src/product/store/effects/product.effect.ts#L77), complaining that `this` is undefined.

Fix: Preserve the context of `this` which was lost in [this line](https://github.com/SAP/spartacus/blob/ed1e1a78c488b1e1214491ffa736612287f8cf70/projects/core/src/product/store/effects/product.effect.ts#L52)

The problem was revealed only after we implemented [CXSPA-2251](https://jira.tools.sap/browse/CXSPA-2251) where we referenced `this` by adding `this.logger` to the method `ProductEffects.productLoadEffect`

fixes https://jira.tools.sap/browse/CXSPA-3902
Co-authored-by: Hakwoo Kim <[email protected]>
@KeerthiSap KeerthiSap requested a review from a team as a code owner July 17, 2023 05:22
@KeerthiSap KeerthiSap requested a review from a team July 17, 2023 05:22
@KeerthiSap KeerthiSap requested review from a team as code owners July 17, 2023 05:22
@KeerthiSap KeerthiSap merged commit 0f3f22c into update-6.2.x Jul 17, 2023
24 of 26 checks passed
@KeerthiSap KeerthiSap deleted the develop-6.2.x branch July 17, 2023 05:22
@KeerthiSap KeerthiSap restored the develop-6.2.x branch July 17, 2023 05:25
@KeerthiSap KeerthiSap temporarily deployed to dev July 17, 2023 05:25 — with GitHub Actions Inactive
@KeerthiSap KeerthiSap deleted the develop-6.2.x branch July 17, 2023 05:25
@KeerthiSap KeerthiSap restored the develop-6.2.x branch July 17, 2023 05:31
@KeerthiSap KeerthiSap temporarily deployed to dev July 17, 2023 05:31 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.