Open ceesvanegmond opened 5 years ago
Nobody?
I'm using EasyAdmin and I had the same problem ... did you fixed the issue ?
up
Up!
I have a same issue, please fix this problem. Thank you !
any news?
Unfortunately, I manipulated DoctrineORMInfo file
a2lix_auto_form.object_info.doctrine_orm_info:
class: App\ORM\DoctrineORMInfo
arguments: ['@a2lix_auto_form.doctrine.metadata_factory']
Hi there,
I'm using
TranslationFormBundle
and its working perfectly. In my case; i'm using theTranslationsType
in Sonata to add translated field. I want to use a ManyToOne field as translated field; and I do get an error. The error isclass xxx doesn't have a field yyy
. Where yyy is the ManyToOne field.After a bit of researching I found a solution. If I remove the following check (https://github.com/a2lix/AutoFormBundle/blob/master/src/ObjectInfo/DoctrineORMInfo.php#L65) everything is working fine.
My question is; can this check be removed? Or why is it there?