From: Matthew Horsfall Date: Wed, 20 Jul 2011 00:30:52 +0000 (-0400) Subject: "Temporary" fix so import works again. DBIx/Data/Store/CRUD.pm no longer seems to... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FApp-IdiotBox.git;a=commitdiff_plain;h=ce2b1e73fc200bc54032b33af7487534d6608ca4 "Temporary" fix so import works again. DBIx/Data/Store/CRUD.pm no longer seems to handle inserts with special accessors --- diff --git a/lib/App/IdiotBox/Importer.pm b/lib/App/IdiotBox/Importer.pm index b7ba153..030de6e 100644 --- a/lib/App/IdiotBox/Importer.pm +++ b/lib/App/IdiotBox/Importer.pm @@ -79,6 +79,7 @@ sub run { $info->{slug} = prompt('What is the slug for this talk?', $slug); $info->{bucket} = $bucket; $info->{announcement} = $ann; + $info->{announcement_id} = $ann->id; # Temp fix so INSERT behaves -- alh $videos{$video_file} = bless($info, 'App::IdiotBox::Video'); } foreach my $video_file (keys %videos) {