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 team , I am running Command docker/sdk up --build it cause a error : - Exception - Exception: Val
Hi team ,
I am running Command docker/sdk up --build it cause a error : -
Exception - Exception: Value mismatch for "Address.firstName" transfer property. Value1: "firstName"; Value2: "firstName()". To fix this, search for 'property name="firstName"' in the code base and fix the wrong one.
in /data/vendor/spryker/transfer/src/Spryker/Zed/Transfer/Business/Model/Generator/TransferDefinitionMerger.php (160)
Command: vendor/bin/console transfer:databuilder:generate
Trace:
0 /data/vendor/spryker/transfer/src/Spryker/Zed/Transfer/Business/Model/Generator/TransferDefinitionMerger.php(120): Spryker\Zed\Transfer\Business\Model\Generator\TransferDefinitionMerger->mergeProperties(Array, Array, 'Address')
1 /data/vendor/spryker/transfer/src/Spryker/Zed/Transfer/Business/Model/Generator/TransferDefinitionMerger.php(67): Spryker\Zed\Transfer\Business\Model\Generator\TransferDefinitionMerger->mergeProperty(Array, Array, 'Address')
2 /data/vendor/spryker/transfer/src/Spryker/Zed/Transfer/Business/Model/Generator/TransferDefinitionMerger.php(42): Spryker\Zed\Transfer\Business\Model\Generator\TransferDefinitionMerger->mergeDefinitions(Array, Array, 'Address')
3 /data/vendor/spryker/transfer/src/Spryker/Zed/Transfer/Business/Model/Generator/DataBuilderDefinitionBuilder.php(45): Spryker\Zed\Transfer\Business\Model\Generator\TransferDefinitionMerger->merge(Array)
4 /data/vendor/spryker/transfer/src/Spryker/Zed/Transfer/Business/Model/DataBuilderGenerator.php(48): Spryker\Zed\Transfer\Business\Model\Generator\DataBuilderDefinitionBuilder->getDefinitions()
5 /data/vendor/spryker/transfer/src/Spryker/Zed/Transfer/Business/TransferFacade.php(57): Spryker\Zed\Transfer\Business\Model\DataBuilderGenerator->execute()
6 /data/vendor/spryker/transfer/src/Spryker/Zed/Transfer/Communication/Console/DataBuilderGeneratorConsole.php(54): Spryker\Zed\Transfer\Business\TransferFacade->generateDataBuilders(Object(Symfony\Component\Console\Logger\ConsoleLogger))
7 /data/vendor/symfony/console/Command/Command.php(298): Spryker\Zed\Transfer\Communication\Console\DataBuilderGeneratorConsole->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
8 /data/vendor/symfony/console/Application.php(1058): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
9 /data/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand(Object(Spryker\Zed\Transfer\Communication\Console\DataBuilderGeneratorConsole), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
10 /data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/Bootstrap/ConsoleBootstrap.php(114): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
11 /data/vendor/symfony/console/Application.php(171): Spryker\Zed\Console\Communication\Bootstrap\ConsoleBootstrap->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
12 /data/vendor/spryker/console/bin/console(27): Symfony\Component\Console\Application->run()
13 /data/vendor/bin/console(120): include('/data/vendor/sp...')
14
Please help me
Comments
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
Hey, have you created/touched transfer files on project level?
0 -
no i didn't
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
what does
git status
show?0 -
$ git status
fatal: unsafe repository ('//wsl.localhost/Ubuntu/home/aashu89/spryker-new/b2c-demo-shop' is owned by someone else)
To add an exception for this directory, call:git config --global --add safe.directory '%(prefix)///wsl.localhost/Ubuntu/home/aashu89/spryker-new/b2c-demo-shop'
Set the environment variable GIT_TEST_DEBUG_UNSAFE_DIRECTORIES=true and run
again for more information.0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
It would be also beneficial for you to learn some more git basics if you work on projects 🙂 - What does git status do? It shows the “current status” of your local repository. Incl. possible changed files. So please make your environment work properly with git in order to look further into the problem you are facing
0 -
i am not using git
0
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