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
setting category to a string [Doctrine\ORM\ORMInvalidArgumentException] Expected value of type "Entity\Category" for...
using categoryID as key leads to a category set to null (using propel before doctrine, i thought that this might work).
in general it sould be documented that invalid fields are dropped. i think this should throw an exception (should this go into different ticket?).
The text was updated successfully, but these errors were encountered:
What are you trying to achieve?
i would like to add a product with a related category.
What do you get instead?
setting
category
to a string[Doctrine\ORM\ORMInvalidArgumentException] Expected value of type "Entity\Category" for...
using
categoryID
as key leads to a category set to null (using propel before doctrine, i thought that this might work).in general it sould be documented that invalid fields are dropped. i think this should throw an exception (should this go into different ticket?).
The text was updated successfully, but these errors were encountered: