mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-15 09:30:58 +00:00
bug #12773 [API][FIX] Remove code attribute of OrderItem in API serialization (oallain, lchrusciel)
This PR was merged into the 1.11 branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> | Related tickets | | License | MIT OrderItem has no attribut `code` but this attribute is in Serialisation configuration. This throw an error when we Normalize Object. Commits -------4c4ef50ebfremove code attribute of OrderItem in API serializationc4dece96c8[UPGRADE] Add note about code field serialization removal in OrderItem
This commit is contained in:
commit
ca41cb687b
2 changed files with 3 additions and 5 deletions
|
|
@ -5,6 +5,9 @@
|
|||
`Sylius\Component\Channel\Context\RequestBased\HostnameBasedRequestResolver::findChannel` will start selecting only a channel from a range
|
||||
of enabled channels.
|
||||
|
||||
2. The `code` field was removed from OrderItem serialization (in `src/Sylius/Bundle/ApiBundle/Resources/config/serialization/OrderItem.xml`)
|
||||
as such field does not exist. Please, add it in your code base if you need it.
|
||||
|
||||
# UPGRADE FROM `v1.11.2` TO `v1.11.3`
|
||||
|
||||
1. Order Processors' priorities have changed and `sylius.order_processing.order_prices_recalculator` has now a higher priority than `sylius.order_processing.order_shipment_processor`.
|
||||
|
|
|
|||
|
|
@ -23,11 +23,6 @@
|
|||
<group>shop:order:account:read</group>
|
||||
<group>shop:order_item:read</group>
|
||||
</attribute>
|
||||
<attribute name="code">
|
||||
<group>admin:order:read</group>
|
||||
<group>admin:order_item:read</group>
|
||||
<group>shop:order_item:read</group>
|
||||
</attribute>
|
||||
<attribute name="order">
|
||||
<group>admin:order_item:read</group>
|
||||
<group>shop:order_item:read</group>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue