History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: COR-725
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Patrick Roemer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
db4o Core

Query#descend() returns null when trying to descend into an untyped collection for which no persisted objects exist

Created: 16/Jul/07 10:14 PM   Updated: 22/Aug/07 07:45 PM
Component/s: Queries
Affects Version/s: None
Fix Version/s: Denmark - v6.3

Time Tracking:
Original Estimate: Not Specified
Remaining Estimate: 0h
Time Spent - 2.5h
Time Spent: 2.5h
Time Spent - 2.5h

Original IDS Estimate: 1
Resolution Date: 22/Aug/07 07:45 PM
Labels:
Participants: Patrick Roemer
Number of Attachments: 0
Number of Comments: 2


 Description  « Hide
class A {
  private ArrayList _data;
}

query.descend("_data").descend("_foo");

will return null - should *never* do that.

Workaround:

Query subQuery = query.descend("_data");
subQuery.constrain(B.class);
subQuery.descend("_foo");


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Patrick Roemer - 22/Jul/07 12:29 PM
Fixed by attaching QConFalse instead of returning null, todo: get QConFalse type hierarchy right

Patrick Roemer - 24/Jul/07 11:28 PM
Fixed QConFalse hierarchy.