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..
Hello everybody. We are currently on migrating the CartsRestApi module for an older shop from a 2.x.
Hello everybody. We are currently on migrating the CartsRestApi module for an older shop from a 2.x.x version to an 3.x.x to have the Patch Controller Action available (which wasn’t available before). I followed https://documentation.spryker.com/module_migration_guides/glue_api/cartsrestapi-migration-guide.htm#upgrading-from-version-2---to-version-3-- to migrate this feature but anyhow i get the error
Error: Call to undefined method Generated\Shared\Transfer\QuoteTransfer::getName() in file /data/shop/development/current/vendor/spryker/carts-rest-api/src/Spryker/Zed/CartsRestApi/Business/Quote/Mapper/QuoteMapper.php on line 47
I tried to search for this property “name” in all possible quote transfer xml but it doesn’t appear in any module or any transfer xml file … how can i find out, where or when this property was ever used?
It looks like dependencies are not proper but the composer update worked and modules seems to be installed correctly. So it’s a bit curious to me … any ideas?
Thanks a lot!
Comments
-
For anybdoy wondering:
The property lives in
./vendor/spryker/carts-rest-api/src/Spryker/Shared/CartsRestApi/Transfer/carts_rest_api.transfer.xml:L96
and was introduced with commitc15bb5425f405b3c541d18154e60028d11f65813
during ticket GLUE-8277. That is nearest to tag5.2.0~2
- far in the future of version 3.0 -
...said commit actually transfers it from
RestCartItemsAttributes
toQuote
. This makes it available as of 3.0.0, but on the other object.0 -
Hi Ingo, Thomas, it might be an issue so I'll forward this internally for investigation.
If you need to track the progress please create a support ticket.
Thanks!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