Herman,
the foreach you told me is working now and it is updating the values but
the line below before foreach to load the entities:
$somethings =
$em->getRepository('Entities\Something')->findBy(array('productId' =>
$_POST['productId']));causes this notice below. I did set proxies to AutoGenerate and probably I have to say that I have another actual Something repository file that is separate from Entity class file, extending EntityRepository. No function of this repository file is called on this script at all. Please advice how to avoid this notice? I appreciate it. NOTICE: Undefined index: id in /vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 121 -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
