Skip to content

Problem with symfony 5 #11

@naek33

Description

@naek33

Hello
Thank you for this bundle. I have a problem with a simple symfony 5 skeleton.

Here are my actions:
1 composer create-project symfony/skeleton test
2 composer require florianajir/datanova-bundle
3 // src/config/bundles.php => Fmaj\LaposteDatanovaBundle\FmajLaposteDatanovaBundle::class => ['all' => true],
4 src/config/routing.yml
data_nova:
resource: "@FmajLaposteDatanovaBundle/Resources/config/routing.yml"
prefix: /datanova
5 symfony server:start
6 Testing => http://127.0.0.1:8000/datanova/records/search/laposte_hexasmal/code_postal:34000/nom_de_la_commun
7 Error
The controller for URI "/datanova/records/search/laposte_hexasmal/code_postal:34000" is not callable: Controller LaposteDatanovaBundle:Records:search" does neither exit as service nor as class"

Have you had similar problem? Can you help me on the subject?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions