Calling Developers!
We are reenergizing our code contribution process! Learn More

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, guys! I'm trying to set up a demo stand with the Spryker shop using the docker/sdk, but it fa

Options
U01DE320SN6
U01DE320SN6 Posts: 37 🧑🏻‍🚀 - Cadet
edited October 2020 in Docker

Hello, guys!
I'm trying to set up a demo stand with the Spryker shop using the docker/sdk, but it fails at some point during the vendor/bin/console setup:init-db operation:

Installing DB data for PriceProduct
Error - Exception: Class 'Orm\Zed\PriceProduct\Persistence\Base\SpyPriceTypeQuery' not found
in /data/vendor/spryker/price-product/src/Spryker/Zed/PriceProduct/Persistence/Propel/AbstractSpyPriceTypeQuery.php (21)

Such file is certainly not existing, yet all previous operations run smooth inside the container:

docker/sdk cli
vendor/bin/console propel:schema:copy
vendor/bin/console propel:migration:delete
vendor/bin/console propel:tables:drop
vendor/bin/console propel:diff
vendor/bin/console propel:migrate
composer dump-autoload

I do understand that it might be an issue with my CI yml file, yet I cannot find, how files inside of src\Orm\Zed\PriceProduct\Persistence\ are being generated, which operation I seem to be missing?

Comments

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 🧑🏻‍🚀 - Cadet
    Options

    as far as I can see you are not running propel:model:build anywhere

  • U01DE320SN6
    U01DE320SN6 Posts: 37 🧑🏻‍🚀 - Cadet
    Options

    Indeed, that was an issue. Thank you!