[FormBundle] Preview show public version instead of draft
dannyvw opened this issue · comments
Danny v W commented
If you create a draft for a formpage the preview shows the public version instead of the draft version. The getRef
from https://github.com/Kunstmaan/KunstmaanBundlesCMS/blob/6.x/src/Kunstmaan/FormBundle/ViewDataProvider/FormPageViewDataProvider.php#L39 get always the public version.