pimcore/bundle-generator

[Bug]: Routing doesn't work when generating Bundles with yaml config

fashxp opened this issue · 4 comments

Expected behavior

routing works

Actual behavior

routing doesn't work

Steps to reproduce

  • create bundle
  • choose yaml configuration format
  • try to open test controller route

@fashxp Is it for v1?

You mean 1.1?
Not mandatory, also can be part of a bugfix release

From what I understand, it generates something like this:

test_homepage:
    path:     /test
    defaults: { _controller: TestBundle\Controller\DefaultController:indexAction }

As you can see, one colon is missing, it should be:

test_homepage:
    path:     /test
    defaults: { _controller: TestBundle\Controller\DefaultController::indexAction }

Fixed by #13