The Controller object refreshes the entity only if it is managed.
Merge branch 'release/0.4-RC2' into develop