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

[Core][Shipping] Fix estimated shipping costs #13769

Merged
merged 11 commits into from
Mar 18, 2022

Conversation

coldic3
Copy link
Contributor

@coldic3 coldic3 commented Mar 15, 2022

Q A
Branch? 1.10
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets fixes #12554, #13123, related to #13126
License MIT

@coldic3 coldic3 added Shop ShopBundle related issues and PRs. API APIs related issues and PRs. Bug Confirmed bugs or bugfixes. labels Mar 15, 2022
@coldic3 coldic3 requested a review from a team as a code owner March 15, 2022 10:06
@coldic3 coldic3 force-pushed the fix/estimated-shipping-cost branch from 786c7e6 to e3e3bb7 Compare March 15, 2022 10:25
@probot-autolabeler probot-autolabeler bot added the Maintenance CI configurations, READMEs, releases, etc. label Mar 15, 2022
UPGRADE-1.10.md Outdated Show resolved Hide resolved
@coldic3 coldic3 force-pushed the fix/estimated-shipping-cost branch from 2c3d6ed to 6543f28 Compare March 16, 2022 10:07
@coldic3 coldic3 changed the title [WIP][Core][Shipping] Fix estimated shipping costs [Core][Shipping] Fix estimated shipping costs Mar 16, 2022
@coldic3 coldic3 force-pushed the fix/estimated-shipping-cost branch from 6543f28 to 3333d07 Compare March 16, 2022 11:37
@coldic3 coldic3 force-pushed the fix/estimated-shipping-cost branch from a8083db to d790944 Compare March 16, 2022 13:20
{
$this->expectException(InvalidTypeException::class);

(new PartialProcessor())->processConfiguration(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this way?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The exception message is different depending on the Symfony version. I was looking for a solution to just throw this error by setting an invalid configuration and then check if the exception class is the same.

@GSadee GSadee merged commit 6c674b2 into Sylius:1.10 Mar 18, 2022
@GSadee
Copy link
Member

GSadee commented Mar 18, 2022

Thanks, Kevin! 🥇

@coldic3 coldic3 deleted the fix/estimated-shipping-cost branch March 18, 2022 12:45
lchrusciel added a commit that referenced this pull request Mar 24, 2022
This PR was merged into the 1.11 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.11
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | #13769
| License         | MIT

Commits
-------

c194355 [Maintenance] Update UPGRADE-1.11.md
GSadee added a commit that referenced this pull request Mar 25, 2022
…ecalculating prices (coldic3)

This PR was merged into the 1.10 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.10
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | yes
| Related tickets | #13769
| License         | MIT

Commits
-------

7b2ad4f [Core][Shipping] Deprecate processing shipments before recalculating prices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API APIs related issues and PRs. Bug Confirmed bugs or bugfixes. Maintenance CI configurations, READMEs, releases, etc. Shop ShopBundle related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Priority of order processors conflicts with shipping method resolving
4 participants