Fix #1457 : EntityManager:clear should not be called in a controller
Merge pull request #634 from romainneutron/fix-1457

[3.8] Fix 1457 : EntityManager:clear should not be called in a controller