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

[API][FIX] Remove code attribute of OrderItem in API serialization #12773

Merged
merged 2 commits into from
Jul 19, 2022

Conversation

oallain
Copy link
Member

@oallain oallain commented Jul 3, 2021

Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets
License MIT

OrderItem has no attribut code but this attribute is in Serialisation configuration.
This throw an error when we Normalize Object.

@oallain oallain requested a review from a team as a code owner July 3, 2021 14:20
@probot-autolabeler probot-autolabeler bot added the API APIs related issues and PRs. label Jul 3, 2021
@oallain
Copy link
Member Author

oallain commented Jul 30, 2021

Ping @lchrusciel

@oallain
Copy link
Member Author

oallain commented Aug 12, 2021

Ping @Sylius/core-team ;)

@timching
Copy link

timching commented Jul 12, 2022

facing the same issue, also found that same issue in the SyliusPlus in this file vendor/sylius/plus/src/Resources/config/serialization/OrderItem.xml

Copy link
Member

@Zales0123 Zales0123 left a comment

Choose a reason for hiding this comment

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

👍 but I wonder, shouldn't it be merged into 1.11 (as it's definitely a bug fix). And we definitely need to add a note into the UPGRADE file (in theory one could already have a code property added in the OrderItem entity and count on this serialization configuration 🔥)

@probot-autolabeler probot-autolabeler bot added the Maintenance CI configurations, READMEs, releases, etc. label Jul 19, 2022
@lchrusciel lchrusciel changed the base branch from 1.12 to 1.11 July 19, 2022 10:53
@Zales0123 Zales0123 merged commit ca41cb6 into Sylius:1.11 Jul 19, 2022
@Zales0123
Copy link
Member

Zales0123 commented Jul 19, 2022

Thanks, @oallain and @lchrusciel! 🎉

@oallain oallain deleted the fix-api-orderitem-code branch July 19, 2022 16:25
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. Maintenance CI configurations, READMEs, releases, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants