There seems to be a bug with the following:

       $cart->options(
           'option_id.group_id' => $group_id,
           { join => ['option_id'] }
       )->delete;

I instead have to do this:

       $_->delete for $cart->options(
           'option_id.group_id' => $group_id,
           { join => ['option_id'] }
       );

I'm not yet familiar with the internals and I'm new to DBIx::Class, so
it would take me a while to write a patch if indeed it's a bug.
Regardless, let me know how I can help.

Juan

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to