Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

routes_basepath not set #225

Closed
ElectricMaxxx opened this issue Apr 2, 2014 · 5 comments · Fixed by #228
Closed

routes_basepath not set #225

ElectricMaxxx opened this issue Apr 2, 2014 · 5 comments · Fixed by #228

Comments

@ElectricMaxxx
Copy link
Member

Without changing config it got exception on almost every test in the sandbox:
https://travis-ci.org/symfony-cmf/cmf-sandbox/builds/22076912
There must be something wrong in setting the basepath or prepending from core-bundle.

@dbu
Copy link
Member

dbu commented Apr 2, 2014

this looks like a version issue with the lock file, you probably need to "composer update symfony-cmf/core-bundle symfony-cmf/routing-bundle" (we will get merge conflicts on composer.lock i guess)

@ElectricMaxxx
Copy link
Member Author

@dbu is there some case, when that param isn't available? if i do a container:debug --parameters i see that param. if i do a doctrine:phpcr:fixtures:load -v i got the following exceptiong:

  [Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]             
  The parameter "cmf_routing.dynamic.persistence.phpcr.route_basepath" must be defined.  



Exception trace:
 () at /home/maximilian/websites/Cmf/cmf-sandbox/app/cache/dev/appDevDebugProjectContainer.php:9177
 appDevDebugProjectContainer->getParameter() at /home/maximilian/websites/Cmf/cmf-sandbox/src/Sandbox/MainBundle/DataFixtures/PHPCR/LoadRoutingData.php:37
 Sandbox\MainBundle\DataFixtures\PHPCR\LoadRoutingData->load() at /home/maximilian/websites/Cmf/cmf-sandbox/vendor/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Executor/AbstractExecutor.php:121
 Doctrine\Common\DataFixtures\Executor\AbstractExecutor->load() at /home/maximilian/websites/Cmf/cmf-sandbox/vendor/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Executor/PHPCRExecutor.php:65
 Doctrine\Common\DataFixtures\Executor\PHPCRExecutor->execute() at /home/maximilian/websites/Cmf/cmf-sandbox/vendor/doctrine/phpcr-bundle/Doctrine/Bundle/PHPCRBundle/Command/LoadFixtureCommand.php:142
 Doctrine\Bundle\PHPCRBundle\Command\LoadFixtureCommand->execute() at /home/maximilian/websites/Cmf/cmf-sandbox/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244
 Symfony\Component\Console\Command\Command->run() at /home/maximilian/websites/Cmf/cmf-sandbox/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:905
 Symfony\Component\Console\Application->doRunCommand() at /home/maximilian/websites/Cmf/cmf-sandbox/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191
 Symfony\Component\Console\Application->doRun() at /home/maximilian/websites/Cmf/cmf-sandbox/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /home/maximilian/websites/Cmf/cmf-sandbox/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
 Symfony\Component\Console\Application->run() at /home/maximilian/websites/Cmf/cmf-sandbox/app/console:22

Did that composer update .. run you said, but changed nothing on both. Sandbox/seo-integradion and the Seo/fix.. PR are both failing with and equal exception.

@ElectricMaxxx
Copy link
Member Author

Oh i must correct my self, the Seo/fix ... PR will pass now. So i will give the changes in Sandbox in the hand of travis too.

@dbu
Copy link
Member

dbu commented Apr 2, 2014

i will update the sandbox again once symfony-cmf/simple-cms-bundle#98 is merged.

@ElectricMaxxx
Copy link
Member Author

try to add some test atm, to show the situations. i am not shure if it depends on the simple. it is combination of core and routing bundle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants