sensio/SensioGeneratorBundle — Issue #81: CRUD Generator and joined entities
Author: Dentxinho
Created: 2011-11-25 17:59:42+00:00
State: open

If you generate a CRUD for an entity that have relationships, the generator don't generate the information of joined entities on the `show` view.
Looking into it, i've found that `generateShowView` method renders `show` skeleton passing the variable `fields` with the value of `fieldMappings` (from the class metadata). Joined entities are inside `associationMappings`. The generator should do some logic to merge `fieldMappings` with `associationMappings` to pass them to the skeleton.