Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

auto-routing-bundle fails to generate routes - parent is empty #555

@rglss

Description

@rglss

After installing the auto-routing-bundle and configuring the routes to be generated the fixture loader throws an exception:

[Doctrine\ODM\PHPCR\Id\IdException]
  Property "parent" mapped as ParentDocument may not be empty in document of class "Symfony\Cmf\Bundle\RoutingAutoBundle\Model\AutoRoute"

The Documents are setup correctly as in the tutorial, the issue appears to be that the auto-routing-bundle doesn't know where the routes should be stored. Adding the cmf_routing_auto.persistence.phpcr.route_basepath appears to resolve the problem.

Have submitted a pull request with the updated documentation.

Unsure, but could be related to #538

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions