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

Conversation

simshaun
Copy link
Contributor

The RoutingBundle Doctrine ORM integration requires CoreBundle to function properly if using DoctrineBundle <1.3.

The RoutingBundle Doctrine ORM integration requires CoreBundle to function properly if using DoctrineBundle <1.3.
@@ -353,6 +353,9 @@ Alternatively, you can use the `Doctrine ORM`_ provider by specifying the
``persistence.orm`` part of the configuration. It does a similar job but, as
the name indicates, loads ``Route`` entities from an ORM database.

You must install the CMF `CoreBundle` to utilize this feature if your app
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please put this in a caution directive?
(also note the small changes I made in the first sentence)

.. caution::

    You must install the ``CoreBundle`` to utilize this feature if your app
    does not have at least DoctrineBundle 1.3 installed.

@dbu
Copy link
Member

dbu commented Jan 28, 2014

good catch, thank you.

are you successfully using the routing with orm? we have little experience with it and would love feedback or improvements. test coverage is not very complete and there is an open question: symfony-cmf/routing-bundle#145 - your feedback on this would be valuable.

dbu added a commit that referenced this pull request Jan 28, 2014
Document potential CoreBundle requirement when DoctrineBundle <1.3
@dbu dbu merged commit dc484d6 into symfony-cmf:1.0 Jan 28, 2014
wouterj added a commit that referenced this pull request Jan 28, 2014
@wouterj
Copy link
Member

wouterj commented Jan 28, 2014

Fyi, I did a minor change, to be consistent with the rest of the docs in b07aaf4

@dbu
Copy link
Member

dbu commented Jan 28, 2014

thanks. sorry, hit merge a bit too fast it seems.

@simshaun
Copy link
Contributor Author

@dbu We've got it working for simple static routes from the database so far without a hitch. We'll be utilizing more complex routes soon so hopefully I can provide feedback then.

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

Successfully merging this pull request may close these issues.

3 participants