akeneo/pim-community-dev — pull request #1667 by nidup (2014-10-14 21:50:47+00:00)
Title: [DISCUSS] CommentBundle de-coupling

A PR to discuss about coupling by using the CommentBundle use case :dancer:

Let's imagine we would use it in other application to add comments on others entities than products.

This PR removes deps to other Oro and Pim bundles, here the CommentBundle classes only rely on Symfony and Doctrine.

We can notice that the controller duplicates some logic from the base enrich controller, it could also use symfony base controller but it means become container aware (another topic), it could also use other services from other bundle to use shortcuts.

Other open question is the templating which depends on twig macros (page_elements) from UIBundle.