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..
Hi All, I am working on step engine and refered Quote module for the same. But receiving the below e
Hi All, I am working on step engine and refered Quote module for the same. But receiving the below error, Can anyone suggest where I am going wrong Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException thrown with message "Neither the property "legal_name" nor one of the methods "getLegalName()", "legalName()", "isLegalName()", "hasLegalName()", "__get()" exist and have public access in class "Generated\Shared\Transfer\QuoteTransfer"."
Stacktrace:
13 Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException in /data/vendor/symfony/property-access/PropertyAccessor.php:429
12 Symfony\Component\PropertyAccess\PropertyAccessor:readProperty in /data/vendor/symfony/property-access/PropertyAccessor.php:93
11 Symfony\Component\PropertyAccess\PropertyAccessor:getValue in /data/vendor/symfony/form/Extension/Core/DataMapper/PropertyPathMapper.php:97
10 Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper:getPropertyValue in /data/vendor/symfony/form/Extension/Core/DataMapper/PropertyPathMapper.php:51
9 Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper:mapDataToForms in /data/vendor/symfony/form/Form.php:378
8 Symfony\Component\Form\Form:setData in /data/vendor/spryker/step-engine/src/Spryker/Yves/StepEngine/Form/FormCollectionHandler.php:116
7 Spryker\Yves\StepEngine\Form\FormCollectionHandler:provideDefaultFormData in /data/vendor/spryker/step-engine/src/Spryker/Yves/StepEngine/Process/StepEngine.php:118
6 Spryker\Yves\StepEngine\Process\StepEngine:runProcess in /data/vendor/spryker/step-engine/src/Spryker/Yves/StepEngine/Process/StepEngine.php:69
5 Spryker\Yves\StepEngine\Process\StepEngine:process in /data/src/Pyz/Yves/DealerPortal/Controller/DealerPortalCustomerInformationController.php:84
4 Pyz\Yves\DealerPortal\Controller\DealerPortalCustomerInformationController:dealerPortalCustomerInformationAction in /data/vendor/symfony/http-kernel/HttpKernel.php:158
3 Symfony\Component\HttpKernel\HttpKernel:handleRaw in /data/vendor/symfony/http-kernel/HttpKernel.php:80
2 Symfony\Component\HttpKernel\HttpKernel:handle in /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php:132
1 Spryker\Shared\Application\Application:handle in /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php:110
0 Spryker\Shared\Application\Application:run in /data/public/Yves/index.php:22
Comments
-
looks like your Form has field name with the name which does not exist in the Form
data_class
(see Form configure() method) object (usually it's some Transfer class, QuoteTransfer in your case)if you don't need additional property in your Transfer, you can use https://symfony.com/doc/current/reference/forms/types/form.html#property-path
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 73 Spryker News
- 911 Developer Corner
- 771 Spryker Development
- 87 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 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
- 69 Spryker Safari Questions
- 50 Random