This PR was merged into the 1.13 branch.
Discussion
----------
Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 <!-- see the comment below --> |
| Bug fix? | kind of |
| New feature? | yes |
| BC breaks? | no |
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | https://github.com/Sylius/Sylius/pull/14791 |
| License | MIT |
This PR changes (or more accurately unifies) the way we can delete taxon in Sylius.
Previously, we could delete a taxon that is not `main_taxon` for any product, and we could not delete a taxon in the opposite case.
This PR allows us to remove taxon that is `main_taxon` for some product by setting the relationship to `NULL`.
Alternatively, we could prevent the deletion of taxon in both cases. Let's bring this up for discussion 💬
Commits
-------
[Feature] Add deleting a taxon that is a main taxon of a product scenario
[API][Behat][Taxon] Add step implementation
Revert "[Behat] Describe scenario for messing up products assignments after trying to delete taxon
[Behat][UI] Change isMainTaxonChosen method name
[UI][Behat][Taxon] Add step implementation
[Products] Add ON DELETE SET NULL to the Product mainTaxon field mapping
[Migrations] Alter the product table
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets |
| License | MIT
Commits
-------
6426db133e Cover editing customer profile scenarios in API
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets |
| License | MIT
Commits
-------
5c319cc0b6 Cover product integrity scenarios in API
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets |
| License | MIT
Commits
-------
69e83ad372 Cover seeing default shipping method scenarios in API
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 |
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Related tickets | related #14724 |
| License | MIT |
Commits
-------
328db68a8b [ProductTaxon] Add validation for missing part
8793f07d91 [Product] Add ProductTaxon validation
* 1.12:
[Shop] Add request matching to LocaleStrippingRouter
[UI][Swagger] Update link to API Introduction section
[CS][DX] Refactor
[Promotion] Fix price range filter to also consider configuration with only max
[Maintenance] Fix DisablingApiTest on unstable symfony
This PR was merged into the 1.13 branch.
Discussion
----------
I added a taxon delete section.
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 |
| Bug fix? | no |
| New feature? | yes |
| BC breaks? | no |
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | part of https://github.com/Sylius/Sylius/issues/11250 |
| License | MIT |
<!--
- Bug fixes must be submitted against the 1.12 branch
- Features and deprecations must be submitted against the 1.13 branch
- Make sure that the correct base branch is set
To be sure you are not breaking any Backward Compatibilities, check the documentation:
https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
Commits
-------
65f39f2057 Add a taxon delete section
I added a taxon delete section.
* 1.12:
[ApiBundle][Maintenance] Remove conflict with doctrine/dbal:3.*
[API] Fix dynamic filter enum for ProductImage in swagger docs
[API] Remove invalid enum value from ProductImage resource
add english translation
[Admin][Promotion] Remove leftover rules after their assigned product gets deleted
apply suggestion with new translation key
fix english word and add shipment state in admin show shipment
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | n/a
| License | MIT
Commits
-------
d9166f492c Cover reverting previously applied discount on cart scenarios in API
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | contains fixes from #14941
| License | MIT
Commits
-------
8a922bc7e7 Add @no-api to redirecting_to_products_when_there_is_a_trailing_slash_in_path scenarios
ab4d04fe09 Silence Http\Message\MessageFactory deprecation report
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 |
| Bug fix? | no |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Related tickets | |
| License | MIT |
Commits
-------
[Behat][API] Retrying the payment with different Offline payment
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 <!-- see the comment below --> |
| Bug fix? | no |
| New feature? | no |
| BC breaks? | no |
| License | MIT |
<!--
- Bug fixes must be submitted against the 1.12 branch
- Features and deprecations must be submitted against the 1.13 branch
- Make sure that the correct base branch is set
To be sure you are not breaking any Backward Compatibilities, check the documentation:
https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
Commits
-------
Cover Api steps in paying offline during checkout as guest scenario
[ECS] Fix
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | n/a
| License | MIT
Commits
-------
2f56278d9d Cover reapplying promotion on cart changes scenarios in API
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | to be merged after #14937
| License | MIT |
Commits
-------
7fc6734ca2 Add calculating OrderItemsSubtotal to the Order model
add6f4a285 Cover applying correct taxes for shipping scenarios
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | contains changes from #14941
| License | MIT
Commits
-------
f750f33357 Silence Http\Message\MessageFactory deprecation report
dc4cd8a71c Cover handling different currencies on multiple channels via API scenarios
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets |
| License | MIT
Commits
-------
895ae9fd63 Cover accessing non-existing product via API scenario
* 1.12:
Do not hardcode checking cart state in processors
Determine Order being processable on itself
Add conflict for doctrine/orm:2.14.2
[CS][DX] Refactor
[Tasks] Improve Robo task
[Product][Association] Fix attaching association with numeric code
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 <!-- see the comment below --> |
| Bug fix? | yes https://github.com/Sylius/Sylius/pull/14837/files#diff-da930a9fffeeb2b173c4be59006198c99fd7d758dd4a5d422a2ff9f74a0a1d1bL69-R69 |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> |
| License | MIT |
<!--
- Bug fixes must be submitted against the 1.12 branch
- Features and deprecations must be submitted against the 1.13 branch
- Make sure that the correct base branch is set
To be sure you are not breaking any Backward Compatibilities, check the documentation:
https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
Commits
-------
5264b484c1 [ProductVariant] Fix serialization group of POST operation
8feb851ece [ProductVariant][API] Add possibility to POST variant translations
9bd6d0650d [ProductVariant][API] Add possibility to PUT variant translations
4875256995 [ProductVariant][API] Add channelCode validation in channelPricings list
ad2c534af0 [ProductVariant][API] Add product validation
af4a421c33 [Exception] Map UnexpectedValueException to 400 HTTP status code
7eed74b20d [API] Rename the resource from ProductVariantTranslation to ProductVariantTranslations
3a519e8692 [API] Remove non-iri id field from ProductVariantTranslation and ChannelPricing serialization
d40ecdffc0 [Behat] Update context to pass validation
3dccd16479 [Behat][API] Introduce common ResponseContext service
7483de555f [Behat][API] Use ResponseContext within suites