EtonDigital / EDBlogBundle

EDBlogBundle is extensive and user friendly blog bundle for Symfony2. It provides a lot of interesting features that makes a serious bloging platform from your Symfony2 application. It is very intuitive and flexible, you can easily fit it to your own needs.
MIT License
35 stars 20 forks source link

Doesn't work with Sylius #35

Open shts-on-fire opened 6 years ago

shts-on-fire commented 6 years ago

Hello,

We are currently using Sylius 1.0.4 with your bundle for our project, but are having a few problems. These are not problems directly linked to your bundle, but after implementation into our solution. We tried using the dev-symfony3 branch which fixes problems related to the composer.json, but are left with these :

Do you have a better solution ?

I didn't know where to post this, but if you could help me I would be very grateful Have a good day.

vmladenovic commented 6 years ago

Hi davidou66,

Thanks for using EDBlogBundle. Can you explain me what error do you see after ParamConverter crashes the application? Can you paste it here?

Also I am curious to see how does your Sylius User class looks.

shts-on-fire commented 6 years ago

Hi,

Error from the ParamConverter: Controller "ED\BlogBundle\Controller\Frontend\BlogController::singleArticleAction()" requires that you provide a value for the "$article" argument. Either the argument is nullable and no null value has been provided, no default value has been provided or because there is a non optional argument.

User class: `<?php namespace AppBundle\Entity;

use ED\BlogBundle\Interfaces\Model\BlogUserInterface; use ED\BlogBundle\Interfaces\Model\ArticleCommenterInterface; use FOS\UserBundle\Model\User as BaseUser; use Sylius\Component\Core\Model\AdminUser as SyliusUser; use Doctrine\ORM\Mapping as ORM; use FOS\UserBundle\Model\UserInterface;

/**

Sorry for the late response, we found another bundle wich extends the Sylius e-commerce platform.

By the way, great job on this bundle. It's a shame we couldn't use it.