-
Notifications
You must be signed in to change notification settings - Fork 31
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
Symfony\Cmf\Component\Routing\RouteReferrersReadInterface' not found #49
Comments
can you give us the output of |
Those I have
|
ah i see now you have an explicit dependency on |
ok removing and updating composer. There is some fubard depenancy between I've tried in beta and dev stability. Updated.
|
it works in the cmf-sandbox .. see https://github.com/symfony-cmf/cmf-sandbox/blob/master/composer.json /cc @dantleech |
I will have a look at the other issue tonight. I would have guessed its related to RoutingAuto but its pinned at alpha8 in this case. |
the alpha8 is from cmf-sandbox composer.json |
Ok @ it crashes with:
|
This error is with this installed packages
|
there were changes in the configuration which are causing @dantleech can we update the 1.0/master or at least the master branch on the cmf-sandbox to the latest release of the routing auto bundle? |
Thats to be expected. alpha10 introduced a new configuration schema. alpha9 is the latest release with the old schema. The new schema looks like this: http://symfony.com/doc/master/cmf/bundles/routing_auto/introduction.html#usage Saying that -- I wonder if upgrading the blog to the latest version would be a good idea? Maybe it would be better to wait until the 1.1 release of ODM // @lsmith77 @dbu |
we already have a 1.0 branch .. so if you want you can do it in master |
yay! we got a solution! waiting for your commit and push ;) ! 👍 @dantleech you're my hero! |
ping? |
any luck with this? |
Not yet -- it should be quite simple to do however I guess, there is documentation for the routing auto bundle:
If not maybe I can have a look later / this weekend. |
Hello! Rewrited the autorouting_default.yml to this: cmf_routing_auto:
mappings:
Sandbox\CalendarBundle\Document\Calendar:
content_path:
routing_path:
provider: [ specified, {path: cms/routes}]
exists_action:
strategy: use
not_exists_action:
strategy: throw_exception
namespace:
provider: [ specified, {path: stream}]
exists_action:
strategy: use
not_exists_action:
strategy: create
content_name:
provider: [ content_method, {method: getName}]
exists_action:
strategy: auto_increment
not_exists_action:
strategy: create
Sandbox\CalendarBundle\Document\Event:
content_path:
routing_path:
provider: [ content_method, {method: getCalendar}]
exists_action:
strategy: use
not_exists_action:
strategy: throw_exception
date:
provider: [ content_datetime, {method: getDate}]
exists_action:
strategy: use
not_exists_action:
strategy: create
content_name:
provider: [ content_method, {method: getTitle}]
exists_action:
strategy: auto_increment
not_exists_action:
strategy: create Now I get rid of the error. But poof! The missing interface comes back! Bazinga! |
Strange. Try adding |
Also, you might want to check out this tutorial: http://symfony.com/doc/master/cmf/cookbook/creating_a_cms/index.html Which really lays the foundations for a blog as much as this bundle does. |
the routing 1.1.0-beta2 is still before the BC break we did to cleanup the interface names. you really need to have at least 1.1.0 stable - maybe one of your other deps is pulling things down to the beta version. you could try
and then see where you get a conflict. |
Hello!
Im using blog bundle
And i cant find this interface... Just wested entire day with
composer.phar update
Any help will be gr8!
Cheers!
Max
The text was updated successfully, but these errors were encountered: