Symfony 4. InheritanceType(“JOINED”) and ParamConverter. Strange phenomenon
I have defined the class CoreCase /** * @ORM\Entity(repositoryClass="App\Repository\CoreCaseRepository") * @ORM\InheritanceType("JOINED") * @ORM\DiscriminatorColumn(name="type", type="string") * @ORM\DiscriminatorMap({"Diesel" = "DieselCase", "Carloan" = "CarloanCase"}) * @ORM\HasLifecycleCallbacks() * */ abstract class CoreCase { . . . } and two classes DieselCase and Carloan: /** * @ORM\Entity * @ORM\HasLifecycleCallbacks() */ class DieselCase extends CoreCase { . . . } /** * @ORM\Entity(repositoryClass="App\Repository\CarloanCaseRepository") * @ORM\HasLifecycleCallbacks() */ class