devandclick / Ecommerce

Créer un site Ecommerce avec DevAndClick
35 stars 71 forks source link

Fixture loads for Media are broken #1

Open graphicom opened 10 years ago

graphicom commented 10 years ago

i get this stack trace when i try to load fixtures for media entity, could you please update the fixture class, and thank you for your work and tutorials really a life saver

loading [1] Ecommerce\EcommerceBundle\DataFixtures\ORM\MediaData PHP Fatal error: Call to undefined method Ecommerce\EcommerceBundle\Entity\Media::setPath() in C:\wamp\www\Ecommerce\src\Ecommerce\EcommerceBundle\DataFixtures\ORM\MediaData.php on line 14 PHP Stack trace: PHP 1. {main}() C:\wamp\www\Ecommerce\app\console:0 PHP 2. Symfony\Component\Console\Application->run() C:\wamp\www\Ecommerce\app\console:27 PHP 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() C:\wamp\www\Ecommerce\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:121 PHP 4. Symfony\Component\Console\Application->doRun() C:\wamp\www\Ecommerce\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php:96 PHP 5. Symfony\Component\Console\Application->doRunCommand() C:\wamp\www\Ecommerce\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:191 PHP 6. Symfony\Component\Console\Command\Command->run() C:\wamp\www\Ecommerce\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:902 PHP 7. Doctrine\Bundle\FixturesBundle\Command\LoadDataFixturesDoctrineCommand->execute() C:\wamp\www\Ecommerce\vendor\symfony\symfony\src\Symfony\Component\Console\Command\Command.php:241 PHP 8. Doctrine\Common\DataFixtures\Executor\ORMExecutor->execute() C:\wamp\www\Ecommerce\vendor\doctrine\doctrine-fixtures-bundle\Doctrine\Bundle\FixturesBundle\Command\LoadDataFixturesDoctrineCommand.php:106 PHP 9. Doctrine\ORM\EntityManager->transactional() C:\wamp\www\Ecommerce\vendor\doctrine\data-fixtures\lib\Doctrine\Common\DataFixtures\Executor\ORMExecutor.php:85 PHP 10. call_user_func() C:\wamp\www\Ecommerce\vendor\doctrine\orm\lib\Doctrine\ORM\EntityManager.php:243 PHP 11. Doctrine\Common\DataFixtures\Executor\ORMExecutor->Doctrine\Common\DataFixtures\Executor{closure}() C:\wamp\www\Ecommerce\vendor\doctrine\orm\lib\Doctrine\ORM\EntityManager.php:243 PHP 12. Doctrine\Common\DataFixtures\Executor\AbstractExecutor->load() C:\wamp\www\Ecommerce\vendor\doctrine\data-fixtures\lib\Doctrine\Common\DataFixtures\Executor\ORMExecutor.php:83 PHP 13. Ecommerce\EcommerceBundle\DataFixtures\ORM\MediaData->load() C:\wamp\www\Ecommerce\vendor\doctrine\data-fixtures\lib\Doctrine\Common\DataFixtures\Executor\AbstractExecutor.php:121

devandclick commented 10 years ago

Hey, you took what tags ?

Mackseven commented 8 years ago

i got the same problem