You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I found a bug.
I have an array type in the schema : <column name="roles" type="array" required="false" />
So I have an exception : Error: Call to a member function getType() on boolean that occurs in PropelORMFieldGuesser.
It's because in PropelORMFieldGuesser::getOptions() the parameter $type is set to Symfony\Component\Form\Extension\Core\Type\CollectionType. And that's ok (see : here )
So I added at the beginning of the function getOptions() :
Hi,
I think I found a bug.
I have an array type in the schema :
<column name="roles" type="array" required="false" />
So I have an exception :
Error: Call to a member function getType() on boolean
that occurs in PropelORMFieldGuesser.It's because in PropelORMFieldGuesser::getOptions() the parameter $type is set to Symfony\Component\Form\Extension\Core\Type\CollectionType. And that's ok (see : here )
So I added at the beginning of the function getOptions() :
*EDIT : *
Another solution is :
At line 328 of PropelORMFieldGuesser :
The text was updated successfully, but these errors were encountered: