I've been confused as to why our forms trigger an update even when form 
values haven't changed.   Dug into UnitOfWork and somewhere around line 607 
it does a === compare.   Initially, I was confused why 501 === 501 
triggered a change, but then realized that one was a STRING the other was 
an INTEGER.  

[Thu Mar 27 14:48:16 2014] [error] [client 10.3.11.55] 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [501]===[501]
[Thu Mar 27 14:48:58 2014] [error] [client 10.3.11.55] 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [string]===[integer]

So my question is typical form data is going to be a string.. Regardless if 
I type in 0..9... Setting the field data-types in the XML mappers to the 
proper type in the database seems to be the correct way to go.. But with 
this logic, it seems as if Doctrine will ALWAYS issue an update because the 
data types don't match.


-- 
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.

Reply via email to