* 1.13:
[Admin] Pass admin path name parameter to AdminUriBasedSectionResolver
Update docs/customization/api/adding_and_removing_endpoints.rst
Apply suggestions from code review
[API] Refactor statistics constraints
doc: Adding a tip about api's preventing methods beside GET to load non cart orders by default
| Q | A
|-----------------|-----
| Branch? | 1.13
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | na
| License | MIT
<!--
- Bug fixes must be submitted against the 1.13 branch
- Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
Hello,
If we add a custom API endpoint to the Orders using any method besides
GET, we end up with a very unclear 404 error.
Investigating this led us to find this "feature" which prevents us from
loading the order with a given token due to the order not being in the
state `cart`. In our case, we needed to update the customer cart with
information from an older order. So it was logical for us to use `POST`
as we are updating the cart, and it was logical to have the order token
in the URL to specify the order we need to pull the data from.
It was therefore quite frustrating to debug; I thought adding a little
tip about it in the docs wouldn't hurt any future developer coming
across this issue.
Reference to the class where this filtering is done:
https://github.com/Sylius/Sylius/blob/2.0/src/Sylius/Bundle/ApiBundle/Doctrine/ORM/QueryExtension/Shop/Order/StateBasedExtension.php
Hope I contributed as needed, with ❤️
Regards
Add tests kernel and console naming changes.
| Q | A
|-----------------|-----
| Branch? | 1.14
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | fixes #X, partially #Y, mentioned in #Z
| License | MIT
<!--
- Bug fixes must be submitted against the 1.13 branch
- Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 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
-->
Update of ProductReviews state machine name that is used in example. Currently not existing name (sylius_review) is used to show on how to modify existing callback with existing state machine
Should be sylius_product_review
This PR was merged into the 1.13 branch.
Discussion
----------
fix typo
| Q | A
|-----------------|-----
| Branch? | 1.12, 1.13, 1.14 or 2.0 <!-- see the comment below -->
| Bug fix? | no/yes
| New feature? | no/yes
| BC breaks? | no/yes
| Deprecations? | no/yes <!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | fixes #X, partially #Y, mentioned in #Z
| License | MIT
<!--
- Bug fixes must be submitted against the 1.12 or 1.13 branches
- Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted against the 2.0 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
-------
cfcbd05dec Update repository.rst
This PR was merged into the 1.13 branch.
Discussion
----------
fix typo
| Q | A
|-----------------|-----
| Branch? | 1.12, 1.13, 1.14 or 2.0 <!-- see the comment below -->
| Bug fix? | no/yes
| New feature? | no/yes
| BC breaks? | no/yes
| Deprecations? | no/yes <!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | fixes #X, partially #Y, mentioned in #Z
| License | MIT
<!--
- Bug fixes must be submitted against the 1.12 or 1.13 branches
- Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted against the 2.0 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
-------
74a900caa8 Update model.rst
* 1.12:
Minor fixes after PR review
Fix products grid for mobile
Update PR template
[Documentation] Update Sylius 1.12 version on the release cycle page
Fix ProductTaxons' positioning logic
This PR was merged into the 1.12 branch.
Discussion
----------
| Q | A
|-----------------|-----
| Branch? | 1.12
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Related tickets |
| License | MIT
Since the introduction of the Sylius Plus modular approach, we haven't updated the installation instructions on the official documentation.
Commits
-------
b7abd9ccc4 Sylius Plus modular installation and upgrading
* 1.12:
[Behat] Minor scenarios improvements
Fixes after CR
Test adding similar products
Test adding new simple product
Test adding new taxon
[Behat] Minor scenarios improvements after code review
[Checkout] Add scenario for preventing from a potential XSS attack
[AddressBook] Add scenario for preventing from a potential XSS attack
Use function from UIBundle
Add sanitizer function to UIBundle
Add js sanitizeInput function
Fix product-auto-complete
Use function from UIBundle
Fix potential xss in admin panel
[Maintenance] Remove unnecessary line
[Maintenance] Update docker docs