hi Marcho how do you mean reproducible. do you want me to load the files to github?
On Tuesday, May 24, 2016 at 11:00:25 AM UTC+1, Marco Pivetta wrote: > > Any reproducible test case? > > Marco Pivetta > > http://twitter.com/Ocramius > > http://ocramius.github.com/ > > On 24 May 2016 at 11:59, 'paul kendal' via doctrine-user < > [email protected] <javascript:>> wrote: > >> I am using doctrine 2 Orm with zend 2 >> >> I have a problem with the ORM. >> >> Each time I update an entity and flush it, it also creates a new empty >> entry in the database. >> >> >> >> below is a copy of the object that I * flushed. * >> >> *You will note that is has an id. so there is no reason for the ORM to >> create a fresh entry into the database. * >> >> >> *object*(*SitesAdmin\Entity\SiteName*)[*716*] >> >> *protected* 'id' => int 12 >> >> *protected* 'urlSiteName' => string 'test' *(length=4)* >> >> *protected* 'siteName' => string 'test' *(length=4)* >> >> *protected* 'countryId' => string '11' *(length=2)* >> >> *protected* 'dateSubmitted' => >> >> *object*(*DateTime*)[*714*] >> >> *public* 'date' => string '2016-05-24 11:35:14' *(length=19)* >> >> *public* 'timezone_type' => int 3 >> >> *public* 'timezone' => string 'Europe/Paris' *(length=12)* >> >> *protected* 'live' => int 1 >> >> >> $this->flush >> >> >> >> please note that the flush works perfectly when i create a new object. >> its only duplicate entries when i try to update an existing entity >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/doctrine-user. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
