[1.2] Fix SonataCoreBundle integration

=> only merge after 1.1 is released and master switched to 1.2