Changeset 476

Show
Ignore:
Timestamp:
05/14/08 23:12:48 (6 months ago)
Author:
ykerherve
Message:

If one id has been deleted then the partition driver will typically
croak on lookup - wrapping it an eval{} make this lookup_multi at least succeed.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/Data/ObjectDriver/Driver/DBI.pm

    r459 r476  
    195195    } else { 
    196196        for my $id (@$ids) { 
    197             push @got, $class->driver->lookup($class, $id)
     197            push @got, eval{ $class->driver->lookup($class, $id) }
    198198        } 
    199199    }