Issue 38: linking to a missing record bombs out instead of returning ''
Status:  Fixed
Owner:
Closed:  Sep 2009
Reported by ore...@drjays.com, Sep 14, 2009
What steps will reproduce the problem?
1. my $order = $dsi->item->order
2. my $ship_addr = $order->ship_address
3. $data->{$orderid}{state} = $ship_addr->state->abbr ### when state_id =
0, no state record exists

What is the expected output? What do you see instead?
Expected:
    $data->{$orderid}{state} is an "empty but true" record.
Got:
    Can't call method "abbr" on an undefined value
and
    DBR::Query::RecHelper::getrelation	failed to create dummy record

See regression test for more info.

Sep 14, 2009
#1 daniel.d...@gmail.com
Fixed. Also Updated regression test to uncover the original cause, which was
happening during prefetch mode. Fixed that too. All tests pass.
Status: Fixed