netgen / ezplatform-site-api

Netgen's Site API is site building productivity layer for eZ/Ibexa Platform
https://docs.netgen.io/projects/site-api
GNU General Public License v2.0
37 stars 8 forks source link

Problem on controller content preview override #167

Closed YohannsMonnier closed 4 years ago

YohannsMonnier commented 4 years ago

The alias for ezpublish.controller.content.preview must indicate that this service is public, as it is in the overrided definition

emodric commented 4 years ago

@YohannsMonnier Hm, probably issue with https://github.com/netgen/ezplatform-site-api/blob/4.0/bundle/DependencyInjection/Compiler/PreviewControllerOverridePass.php#L36

Can you test if removing that line helps? If it does, we can just remove it here too since 4.0 does not support legacy anyway.