On 2 Mar 2009, at 14:13, Felix Gilcher wrote: >> This is a bit of a different >> situation, as the PDO object is not in a model. However, I am indeed >> not storing it anywhere. Not even in the local function, let alone in >> the validation report itself, and the exception still occurs. > > Well, you sort of do. The ValidationReport knows about all > incidents. The individual incidents know about the failed > validators. The validators have a reference to the context. The > context knows about the database manager and the database manager > knows the connection. And you store the ValidationReport and then > things break. Validation reports were never meant to be stored, > sorry. We consider making them serializable, but no guaranties that > it will happen, we need to think about all the implications before > doing such a change. Thanks: I didn't actually realise that storing an object made such a 'deep' (if that's the right word) copy.
> However, as explained in the other mail - you really don't need to > store the report. I do think I see that. I guess maybe I should think about things rather than blindly following instructions. On a related not I have just tried the Facebook login page with an incorrect password. It does indeed not do a redirect after a failed login. Of course maybe I shouldn't just do it because Facebook does it, but then lots of people admittedly do manage to use their site... Thanks again, Michal. _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
