What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
After updating to 202009 we have a problem with MerchantStorage. All fields of a merchant's address
After updating to 202009 we have a problem with MerchantStorage. All fields of a merchant's address are null.
Comments
-
It looks like the fromArray->toArray mapping in MerchantStorage/Business/Writer/MerchantStorageWriter.php is wrong due to the different AddressCollection structure in the transfer objects:
https://github.com/spryker/merchant-storage/blob/master/src/Spryker/Shared/MerchantStorage/Transfer/merchant_storage.transfer.xml#L34
vs
https://github.com/spryker/merchant-profile/blob/master/src/Spryker/Shared/MerchantProfile/Transfer/merchant_profile.transfer.xml#L35Is this a bug or am I missing something?
0 -
@ULL9CA6CB seems like you could help here probably.
0 -
As far as I know, Merchant should not have an AddressCollection, you will find your AddressCollection in MerchantTransfer.MerchantProfile or MerchantStorageTransfer.MerchantProfile ..that attribute existing is because of BC (cannot remove attributes from transfers), but it should be deprecated
0 -
I saw that already, I'm talking about the differences between MerchantProfile.AddressCollection and MerchantStorageProfile.AddressCollection
0 -
Will check.
0 -
any news on this @ULL9CA6CB?
0 -
This is internally being checked at the moment, will get back to you as soon as possible!
0 -
ok thanks
0 -
we applied a fix on project level. would be nice if you could ping me if you change this behaviour in core.
0 -
There is an internal ticket for this that I will update you on when it goes into progress π
0 -
Thank you a lot Jochen for your input, it was a great catch!
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 924 Developer Corner
- 783 Spryker Development
- 88 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random