Thanks for the suggestion Gareth. Unfortunately it doesn't work.

Since I'm not all that knowledgeable in OOP, I was thinking this might
have something to do with the $oldstate and $newstate objects being
the same (two references to the same object), that way when you change
one the other changes also. To rule that out I tried this, based on
your suggestion:

$state = Doctrine::getTable('myClass')->find($id);
$oldstate = serialize($state);
$form->save();
$state = Doctrine::getTable('myClass')->find($id);
$newstate = serialize($state);
if ($oldstate != $newstate) return 'changes';
else return 'nochanges';

Don't laugh, that's how I learn... ;)

In any case, no joy, but the behaviour is opposite as before: I always
get changes!

Puzzling...

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to