Hmm how this can work if gedmo slug event listener is not registerd? Adding gedmo/doctrine-extensions to composer is not enough. But there is a bundle that will help you to register specific behavior extensions. 
https://packagist.org/packages/stof/doctrine-extensions-bundle