I got to work by checking if the property was dirty or not and only setting it when it's clean
/Thomas Sent from my iPhone > On 15/07/2014, at 11.56, José Lorenzo <[email protected]> wrote: > > Not right now, but it definitely makes sense. I will propose the change today > in a ticket as I think that using data from the getters in entities for > saving was a bad idea after all. > >> On Tuesday, July 15, 2014 11:13:28 AM UTC+2, Thomas von Hassel wrote: >> Hey (again ..) >> >> Is it correct that it is not possible to do _getXx and _setXx for the same >> field and have it translate to and from the data saved in the database. (say >> save the date in mysql format in the table, but present it localised ?) >> >> >> /thomas > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" 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/cake-php. > For more options, visit https://groups.google.com/d/optout. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php. For more options, visit https://groups.google.com/d/optout.
