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

[v4.4] Only set promo configuration to legacy if no other set #6019

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Dec 6, 2024

Backport

This will backport the following commits from main to v4.4:

Questions ?

Please refer to the Backport tool documentation

This sets the promotion configuration to the legacy promotion system if
no other promotion system, like `solidus_promotion` has been configured
in the `spree` initializer.

This should get rid of errors people encounter when trying to use
`solidus_promotions`, but the system being reconfigured without their
intervention to use the legacy system.

(cherry picked from commit f4d24f2)
@github-actions github-actions bot requested a review from a team as a code owner December 6, 2024 13:24
@github-actions github-actions bot added the changelog:solidus_legacy_promotions Changes to the solidus_legacy_promotions gem label Dec 6, 2024
@tvdeyen tvdeyen merged commit d68f0b4 into v4.4 Dec 6, 2024
11 of 12 checks passed
@tvdeyen tvdeyen deleted the backport/v4.4/pr-5928 branch December 6, 2024 13:38
Copy link

codecov bot commented Dec 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.45%. Comparing base (bfdf4bb) to head (aab2646).
Report is 4 commits behind head on v4.4.

Additional details and impacted files
@@            Coverage Diff             @@
##             v4.4    #6019      +/-   ##
==========================================
+ Coverage   87.81%   89.45%   +1.63%     
==========================================
  Files         476      782     +306     
  Lines       11658    17993    +6335     
==========================================
+ Hits        10238    16096    +5858     
- Misses       1420     1897     +477     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_legacy_promotions Changes to the solidus_legacy_promotions gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants