My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 38: linking to a missing record bombs out instead of returning ''
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ore...@drjays.com
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

Powered by Google Project Hosting