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 = '1';
[debug] Creating new role: $VAR1 = '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).

-Tim


On Tue, Jun 19, 2012 at 1:22 PM, Robert Wohlfarth <rbwohlfa...@gmail.com>wrote:
>
>
> 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
>
>
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to