mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
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 |
||
|---|---|---|
| .. | ||
| account | ||
| addressing | ||
| admin | ||
| cart | ||
| channel | ||
| checkout | ||
| cli | ||
| contact | ||
| currency | ||
| customer | ||
| homepage | ||
| installer | ||
| inventory | ||
| locale | ||
| order/managing_orders | ||
| payment | ||
| product | ||
| promotion | ||
| shipping | ||
| taxation | ||
| taxonomy/managing_taxons | ||
| user | ||