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..
I have those properties in tax and shipment, any other ideas?
Comments
-
which versions of tax and shipment do you have?
0 -
spryker/tax 5.8.4 Tax module
0 -
spryker/shipment 7.0.0 Shipment module
0 -
looks good, please confirm that you:
1. did generated transfer objects and
2. haverequestedDeliveryDate
property defined for your ShipmentTransfer
?0 -
I generated
0 -
and I have that
0 -
so in the getGeneratorRules, DataBuilderDefinition
0 -
it fails for this definition, which I am not sure which transfer it is
0 -
leads? we just launched today internally and we have this zed twig errors everywhere
0 -
we need to be able to change stuff in zed interface and this prevents us from it
0 -
you might have an issue with another property. I can help you to figure out which one. Do you have xDebug working for your project?
0 -
-
lmc
0 -
I would suggest to put a βconditionalβ breakpoint in PHPStorm, DataBuilderDefinition.php (65) and find out what exactly is missing. I can show how
0 -
getting xdebug to run, but the error says
Undefined index: type
, so type must be missing0 -
the reason for this error is: one property is defined in databuilder.xml but not defined in transfer.xml
0 -
you just need to find out which property of what transfer is missing and add it as a quick fix
0 -
ok, my xdebug does not work atm
0 -
the definition O previously posted does not help?
0 -
It doesnβt help me to understand whatβs missing, yes.
0 -
the best would be to configure xdebug and figure out whatβs missing
0 -
you can try to debug it by printing out the info and βdie/exitβ if the βtypeβ is not defined in the array, but configuring xdebug is for sure a good time investment
0 -
array(3) { 'name' => string(6) "amount" 'dataBuilderRule' => string(15) "randomNumber(1)" 'bundles' => array(1) { [0] => string(30) "ShipmentMethod.databuilder.xml" } }
0 -
does this mean it's ShipmentMethod?
0 -
@UK7TM6CQJ, exactly, looks like it is! ShipmentMethod.amount
0 -
0
-
I see that for the transfer name βItemβ
0 -
can you find
<property name="amount"
within the transfer object definitions in your project (for the Item transfer)?0 -
The quick solution in your case, would be to define that property
<property name="amount" type="int" />
for the transfer calledItem
somewhere on the project level. And try generation again0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 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
- 26 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