[Catalyst] create_related is failing on second time through loop?
tja824 at gmail.com
Tue Jun 19 19:07:33 GMT 2012
Thanks for your response Robert.
The value when it crashes is valid. In the case of the example I posted,
two roles were being inserted: 1 and 20. This is the log text:
[debug] Creating new role: $VAR1 =3D '1';
[debug] Creating new role: $VAR1 =3D '20';
The '1' record made it into the database, and the failure came on '20'. I
can successfully add '20' by itself, so I know it's not a referential
integrity issue (or some such thing).
On Tue, Jun 19, 2012 at 1:22 PM, Robert Wohlfarth <rbwohlfarth at gmail.com>wr=
> I see that you send $new_role to the log. What is the value when it
> crashes? An invalid value may cause unhelpful errors.
> Robert Wohlfarth
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst